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