Ajustes para trasmitir expedientes
This commit is contained in:
@@ -58,7 +58,7 @@ namespace EFCDesk.Utils
|
||||
return false;
|
||||
}
|
||||
|
||||
using var apiClient = new ApiClient(timeout: TimeSpan.FromSeconds(600), maxRetries: 3, retryDelay: TimeSpan.FromSeconds(60));
|
||||
var apiClient = Globales.ApiClientLarge;
|
||||
|
||||
// Crear diccionario con los datos
|
||||
var loginData = new Dictionary<string, object>
|
||||
@@ -245,6 +245,15 @@ namespace EFCDesk.Utils
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static string FolderTemporales()
|
||||
{
|
||||
// Obtiene la ruta raíz de la carpeta temporal del sistema
|
||||
string tempPath = Path.Combine(Path.GetTempPath(), "temp-efc-desk");
|
||||
if (!Directory.Exists(tempPath))
|
||||
{
|
||||
Directory.CreateDirectory(tempPath);
|
||||
}
|
||||
return tempPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user