From b68cffe74148d95eb3ed7d32a37b4fe2404b0adf Mon Sep 17 00:00:00 2001 From: Felix Morales Date: Mon, 29 Apr 2024 14:30:08 -0500 Subject: [PATCH] Se corrige el id para tomar la ruta del archivo elecgt --- Controllers/Utils/ArchivoElectronicoController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/Utils/ArchivoElectronicoController.cs b/Controllers/Utils/ArchivoElectronicoController.cs index 41c05e0..b20029b 100644 --- a/Controllers/Utils/ArchivoElectronicoController.cs +++ b/Controllers/Utils/ArchivoElectronicoController.cs @@ -42,7 +42,7 @@ namespace CORRESPONSALBackend.Controllers.Utils{ public async Task DownloadZippedArchivosOficiales([FromBody] DTOAEPeriodoSeleccion data){ try{ //Se obtiene la ruta donde se alojará temporalmente el zip - FilePaths4Process tempFilesRelativePath = await _RepoRelativePath.getPaths4ProcessById(45); // Path: Corresponsales\Zips\Facturacion\Entregas\ + FilePaths4Process tempFilesRelativePath = await _RepoRelativePath.getPaths4ProcessById(44); // Path: Corresponsales\Zips\Facturacion\Entregas\ var tempFilesPath = RootPathCorresponsales + tempFilesRelativePath.Path;// Path: C:data\Corresponsales\Zips\Clientes\ArchivosElectronicos string tempFolderName = "ReporteArchivosElectronicos";//Nombre del folder Temporal string tempFolderPath= tempFilesPath + $"{tempFolderName}\\";//ruta del folder temporal Path: C:data\Corresponsales\Zips\Clientes\ArchivosElectronicos\ReporteArchivosElectronicos