@@ -424,10 +424,9 @@ public class FileUploadServiceImpl implements FileUploadService {
|
||||
|
||||
case ImageCheckResult.Success success -> {
|
||||
FileProtector.FileInfo info = success.getInfo();
|
||||
if (info != null) {
|
||||
throw new DuplicateImageException("Duplicate", info.getId(),
|
||||
Long.valueOf(info.getOwnerId()));
|
||||
}
|
||||
break;
|
||||
// throw new DuplicateImageException("Duplicate", info.getId(),
|
||||
// Long.valueOf(info.getOwnerId()));
|
||||
}
|
||||
|
||||
case DocumentCheckResult.Failed failed ->
|
||||
|
||||
Reference in New Issue
Block a user