Skip to content

Commit

Permalink
fix(upload-core): send tus metadata mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Christie Baker authored and Christie Baker committed Apr 3, 2018
1 parent a809d98 commit 6041339
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/upload-core/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ class Upload {
endpoint: `${this.options.endpoint}/${this.options.bucketId}/`,
chunkSize: this.options.chunkSize,
metadata: {
filename: file.name,
filetype: file.type,
'availity-filename': file.name,
'availity-content-type': file.type,
'availity-attachment-name': file.name,
},
headers: {
'X-XSRF-TOKEN': this.getToken(),
Expand Down

0 comments on commit 6041339

Please sign in to comment.