Skip to content

Commit 3453af6

Browse files
authored
Merge pull request #1430 from dusnoki/patch-1
Update s3_upload.ts
2 parents 1111d65 + da33dad commit 3453af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascriptv3/example_code/s3/src/s3_upload.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Uploads the specified file to the specified bucket.
1919
*/
2020
// snippet-start:[s3.JavaScript.buckets.uploadV3]
2121
// Import required AWS SDK clients and commands for Node.js
22-
const { S3Client } = require("@aws-sdk/client-s3");
22+
const { S3Client, PutObjectCommand } = require("@aws-sdk/client-s3");
2323
const path = require("path");
2424
const fs = require("fs");
2525

0 commit comments

Comments
 (0)