dev delete config
Test Workflow / test (push) Waiting to run

This commit is contained in:
vladp
2026-02-17 16:01:47 +07:00
parent 67690db7c0
commit 18de1ab91b
@@ -46,6 +46,9 @@ public class ImageLocalSearchImpl implements ImageLocalSearch {
ImageHashEntity imageHashEntity = ImageHashEntity imageHashEntity =
imageHashRepository.findByHash64HiAndHash64Lo(pHash.getFirstPart(), imageHashRepository.findByHash64HiAndHash64Lo(pHash.getFirstPart(),
pHash.getSecondPart()); pHash.getSecondPart());
if (imageHashEntity == null) return null;
FileEntity file = fileEntityRepository.findByFileId(imageHashEntity.getFileId()); FileEntity file = fileEntityRepository.findByFileId(imageHashEntity.getFileId());
return new FileProtector.FileInfo(FileProtector.Type.IMAGE, imageHashEntity.getFileId(), return new FileProtector.FileInfo(FileProtector.Type.IMAGE, imageHashEntity.getFileId(),