NCBACK-46 fix file name
Test Workflow / test (push) Successful in 3s

This commit is contained in:
vladp
2026-02-12 16:03:39 +07:00
parent b372180f83
commit 03a330b570
2 changed files with 2 additions and 2 deletions
@@ -363,7 +363,7 @@ public class ApiController {
.contentLength(fileSize)
.contentType(MediaType.parseMediaType(contentType))
.header(HttpHeaders.CONTENT_DISPOSITION,
"attachment; filename=\"" + entityResponse.getOriginalFileName() + "\"")
"attachment; filename=\"" + entityResponse.getFileName() + "\"")
.body(resource);
} catch (FileEntityNotFoundException e) {
Map<String, Object> errorData = new HashMap<>();