Skip to content

Commit

Permalink
Update the Browser Upload function parameter type (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
shomix authored May 24, 2023
1 parent de755c1 commit e9c44f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/sdk/browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const { uploadId, bucketId, protocolLink, dynamicLinks } = await upload(files, {
This flow allows you to control who can use your `uploadToken` to upload files. \
Function `upload` takes two parameters:

- **files** - ( File[] ) - An array of files to be uploaded.
- **files** - ( File[] | FileList ) - An array of files to be uploaded.
- **configuration:** An object with the following parameters:
1. `configuration.token`
- The upload token that was fetched from server.
Expand Down

0 comments on commit e9c44f6

Please sign in to comment.