@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user