mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 02:08:30 +00:00
xhrupload: Fix custom fields in remote uploads
uppy-server calls this `metadata`. Part of allowing uppy-server to upload to S3, see https://github.com/transloadit/uppy-server/issues/57
This commit is contained in:
parent
33f20fb0f4
commit
abf7d58ee1
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ module.exports = class XHRUpload extends Plugin {
|
|||
endpoint: opts.endpoint,
|
||||
size: file.data.size,
|
||||
fieldname: opts.fieldName,
|
||||
fields,
|
||||
metadata: fields,
|
||||
headers: opts.headers
|
||||
}))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue