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
@@ -240,7 +240,7 @@ public class FileUploadServiceImpl implements FileUploadService {
FileEntity saved = fileEntityRepository.save(fileEntity);
if (!session.getFileType().equals("video")) {
if (session.getFileType().equals("image")) {
Map<String, Long> hash = imageHashService.calculateHash(filePath);
imageHashService.create(saved, hash);