fix
Test Workflow / test (push) Successful in 5s

This commit is contained in:
vladp
2026-01-24 11:32:02 +07:00
parent e26e50454a
commit 349edbeb91
3 changed files with 5 additions and 6 deletions
@@ -57,7 +57,7 @@ public class FileEntityService {
if (!duplicatedByHash.isEmpty()) {
SimilarImageProjection similarImageProjection = duplicatedByHash.get(0);
throw new DuplicateImageException("Duplicate", similarImageProjection.getFileId(),
throw new DuplicateImageException("Duplicate", similarImageProjection.getId(),
similarImageProjection.getUserId());
}
}
@@ -375,7 +375,7 @@ public class FileUploadServiceImpl implements FileUploadService {
hash.get("hi"), hash.get("low"));
if (!duplicates.isEmpty()) {
throw new DuplicateImageException("Duplicate", duplicates.get(0).getFileId(),
throw new DuplicateImageException("Duplicate", duplicates.get(0).getId(),
duplicates.get(0).getUserId());
}
}