dev add method link
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-05-06 13:29:13 +07:00
parent b09e4e3bdb
commit ef22693691
@@ -159,10 +159,9 @@ public class ImageFoundRequestHandler implements RequestHandler {
Path tempFile = null;
try {
tempFile = convertToSupportedFormat(fileUploadService.downloadImageFromUrl(url));
File file = new File(fileEntity.getFilePath());
File file = tempFile.toFile();
// String filePath = tempFile.toAbsolutePath().toString();
NoCopyCheckResult checkResult = noCopyFileService.checkFile(file,
FileProtector.Type.IMAGE);
NoCopyCheckResult checkResult = noCopyFileService.checkFile(file, FileProtector.Type.IMAGE);
log.info("checkResult: " + checkResult);
log.info("checkResult: " + checkResult);
log.info("checkResult: " + checkResult);