File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn/Controllers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ public async Task<IActionResult> GetArchiveFiles([FromBody] BackendConfiguration
136136 foreach ( var fileId in model . FileIds )
137137 {
138138 var uploadedData = await _backendConfigurationFilesService . GetUploadedDataByFileId ( fileId ) ;
139- var ss = await core . GetFileFromS3Storage ( $ "{ uploadedData . Checksum } .pdf ") ;
139+ var ss = await core . GetFileFromS3Storage ( $ "{ uploadedData . Checksum } .{ uploadedData . Extension } ") ;
140140 var operationDataResult = await _backendConfigurationFilesService . GetById ( fileId ) ;
141- var zipArchiveEntry = archive . CreateEntry ( $ "{ operationDataResult . Model . FileName } .pdf ",
141+ var zipArchiveEntry = archive . CreateEntry ( $ "{ operationDataResult . Model . FileName } .{ uploadedData . Extension } ",
142142 CompressionLevel . Fastest ) ;
143143 await using var zipStream = zipArchiveEntry . Open ( ) ;
144144 await ss . ResponseStream . CopyToAsync ( zipStream ) ;
You can’t perform that action at this time.
0 commit comments