dev add tariff and temp flag for files
Test Workflow / test (push) Successful in 5s

This commit is contained in:
vladp
2026-01-30 18:04:08 +07:00
parent 36d40a0b8d
commit 8fe8c566c0
@@ -361,7 +361,6 @@ public class ApiController {
.contentType(MediaType.parseMediaType(contentType)) .contentType(MediaType.parseMediaType(contentType))
.header(HttpHeaders.CONTENT_DISPOSITION, .header(HttpHeaders.CONTENT_DISPOSITION,
"attachment; filename=\"" + entityResponse.getOriginalFileName() + "\"") "attachment; filename=\"" + entityResponse.getOriginalFileName() + "\"")
.header(HttpHeaders.CONTENT_LENGTH, String.valueOf(fileSize))
.body(resource); .body(resource);
} catch (FileEntityNotFoundException e) { } catch (FileEntityNotFoundException e) {
Map<String, Object> errorData = new HashMap<>(); Map<String, Object> errorData = new HashMap<>();