Updated code

This commit is contained in:
rajesh
2025-03-21 12:06:51 +05:30
parent 4844aab014
commit ce21dc23f6

View File

@@ -277,10 +277,6 @@ public class CompanyDocumentDao {
Translator.toLocale(GepafinConstant.UPLOAD_ERROR_S3)); Translator.toLocale(GepafinConstant.UPLOAD_ERROR_S3));
} }
URL amazonS3Url = amazonS3.getUrl(bucketName, newS3Path);
String fileUrl = amazonS3Url.toString();
DocumentEntity entity = new DocumentEntity(); DocumentEntity entity = new DocumentEntity();
entity.setFilePath(response.getFilePath()); entity.setFilePath(response.getFilePath());
entity.setFileName(response.getFileName()); entity.setFileName(response.getFileName());