Skip to content

Commit 1627ad8

Browse files
authored
docs(s3-presigned-post): fix to example in README (#2146)
`client` is a required first argument for `createPresignedPost`
1 parent 5d9bc5f commit 1627ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/s3-presigned-post/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const Key = "user/eric/1";
4646
const Fields = {
4747
acl: "public-read",
4848
};
49-
const { url, fields } = await createPresignedPost({
49+
const { url, fields } = await createPresignedPost(client, {
5050
Bucket,
5151
Key,
5252
Conditions,

0 commit comments

Comments
 (0)