Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kiryl1 authored Jul 12, 2022
1 parent 4e827d3 commit 977630c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function writeToS3(response,FILE_NAME,path) {
const data = client.send(new PutObjectCommand(putParams));
//sending to s3 bucket
console.log("File Successfully Uploaded");
fileStream.close()
})
}

Expand Down

0 comments on commit 977630c

Please sign in to comment.