diff --git a/website/src/docs/aws-s3.md b/website/src/docs/aws-s3.md index abf3c747c7..cba92b4b79 100644 --- a/website/src/docs/aws-s3.md +++ b/website/src/docs/aws-s3.md @@ -66,13 +66,13 @@ uppy.use(AwsS3, { Custom headers that should be sent along to [Companion][companion docs] on every request. -### `allowedMetaFields: null` +### `allowedMetaFields: []` Pass an array of field names to limit the metadata fields that will be added to upload as query parameters. +* Set this to an empty array `[]` to not send any fields (this is the default). * Set this to `['name']` to only send the `name` field. -* Set this to `null` (the default) to send _all_ metadata fields. -* Set this to an empty array `[]` to not send any fields. +* Set this to `null` to send _all_ metadata fields. ### `getUploadParameters(file)` diff --git a/website/src/docs/tus.md b/website/src/docs/tus.md index cc16fb4ba9..8f6760659e 100644 --- a/website/src/docs/tus.md +++ b/website/src/docs/tus.md @@ -129,9 +129,9 @@ new Uppy().use(Tus, { Pass an array of field names to limit the metadata fields that will be added to uploads as [Tus Metadata](https://tus.io/protocols/resumable-upload.html#upload-metadata). +* Set this to an empty array `[]` to not send any fields. * Set this to `['name']` to only send the `name` field. * Set this to `null` (the default) to send _all_ metadata fields. -* Set this to an empty array `[]` to not send any fields. ### `limit: 5` diff --git a/website/src/docs/xhr-upload.md b/website/src/docs/xhr-upload.md index 9672630b7e..c90dc826ee 100644 --- a/website/src/docs/xhr-upload.md +++ b/website/src/docs/xhr-upload.md @@ -71,9 +71,9 @@ is set to `true`, otherwise it defaults to `'file'`. Pass an array of field names to limit the metadata fields that will be added to upload. +* Set this to an empty array `[]` to not send any fields. * Set this to `['name']` to only send the `name` field. * Set this to `null` (the default) to send _all_ metadata fields. -* Set this to an empty array `[]` to not send any fields. If the [`formData`](#formData-true) option is set to false, `metaFields` is ignored.