dev add check hash for all types,exclude video
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-02-16 16:15:15 +07:00
parent 27705c5739
commit d74571b7cb
2 changed files with 2 additions and 2 deletions
@@ -56,7 +56,7 @@ public class FileEntityService {
Map<String, Long> imageHash = Map.of();
if (!session.getFileType().startsWith("video")) {
if (session.getFileType().startsWith("image")) {
imageHash = imageHashService.calculateHash(filePath);
List<SimilarImageProjection> duplicatedByHash = fileSimilarityService.findDuplicatedByHash(
imageHash.get("hi"), imageHash.get("low"));