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

This commit is contained in:
vladp
2026-01-30 17:36:57 +07:00
parent 615924ea9e
commit 3cd6b5396c
@@ -340,9 +340,9 @@ public class ApiController {
errorData)); errorData));
} }
String fullPath = baseStoragePath + "/" + entityResponse.getProtectStatus(); // String fullPath = baseStoragePath + "/" + entityResponse.getProtectStatus();
// Path filePath = Paths.get(entityResponse.getProtectStatus()); // Path filePath = Paths.get(entityResponse.getProtectStatus());
Path filePath = Paths.get(fullPath); Path filePath = Paths.get(entityResponse.getProtectStatus());
Resource resource = new UrlResource(filePath.toUri()); Resource resource = new UrlResource(filePath.toUri());
if (!resource.exists()) { if (!resource.exists()) {