Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Mar 20, 2024
1 parent afa825d commit d879fcc
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,11 @@ String getResponseLine(String currentMbi, Timestamp effectiveDate, Boolean optOu
}

public String uploadToS3(S3AsyncClient s3AsyncClient) {
String currentDate = new SimpleDateFormat(REQ_FILE_NAME_PATTERN).format(new Date());
var key = REQ_FILE_NAME + currentDate;
S3TransferManager transferManager = S3TransferManager.builder()
.s3Client(s3AsyncClient)
.build();

var name = getUploadPath() + key;
var name = getUploadPath() + fileName;
var bucketName = getBucketName();

UploadFileRequest uploadFileRequest = UploadFileRequest.builder()
Expand Down

0 comments on commit d879fcc

Please sign in to comment.