This commit is contained in:
Andrei Isvoran 2023-08-11 12:08:32 +03:00
parent 460180b929
commit ebd1165b66

View File

@ -285,7 +285,7 @@ public class DownloadController implements DownloadResource {
TenantContext.clear();
return getResponseEntity(inline, new InputStreamResource((fileDownloadStream)), downloadStatus.getFilename(), MediaType.parseMediaType("application/zip"), downloadStatus.getFileSize());
return getResponseEntity(inline, new InputStreamResource(fileDownloadStream), downloadStatus.getFilename(), MediaType.parseMediaType("application/zip"), downloadStatus.getFileSize());
});
}