dev fix file public endpoint
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-04-21 01:06:50 +07:00
parent 6366cbc96b
commit 9ad4830edb
2 changed files with 7 additions and 8 deletions
@@ -505,8 +505,7 @@ public class ApiController {
}
Path filePath = Paths.get(entityResponse.getProtectedFilePath());
File file = cloudStorageService.readFileFromStorageByPath(
entityResponse.getProtectedFilePath());
File file = cloudStorageService.readFileFromStorageByPath(entityResponse.getProtectedFilePath());
long fileSize = Files.size(filePath);
if (!file.exists()) {