@@ -424,9 +424,10 @@ public class FileUploadServiceImpl implements FileUploadService {
|
|||||||
|
|
||||||
case ImageCheckResult.Success success -> {
|
case ImageCheckResult.Success success -> {
|
||||||
FileProtector.FileInfo info = success.getInfo();
|
FileProtector.FileInfo info = success.getInfo();
|
||||||
break;
|
if (info != null) {
|
||||||
// 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