Updated code
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user