SUPPORT-8706: fixes
This commit is contained in:
parent
b5591f1198
commit
5e74d97549
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ public class ExtractController {
|
|||
String ervuId = userIdsPair.getErvuId();
|
||||
String fileName = null;
|
||||
ByteString file;
|
||||
int size = 0 ;
|
||||
int size = 0;
|
||||
|
||||
try {
|
||||
if (ervuId != null) {
|
||||
|
|
@ -95,6 +95,7 @@ public class ExtractController {
|
|||
file = extractRegistry.getFile();
|
||||
}
|
||||
|
||||
size = file.size();
|
||||
String encodedFilename = URLEncoder.encode(fileName, StandardCharsets.UTF_8);
|
||||
InputStreamResource resource = new InputStreamResource(file.newInput());
|
||||
auditService.processDownloadEvent(servletRequest, size, fileName, formatRegistry,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue