Skip to content

Commit

Permalink
fix(upload-core): add additional headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob McGuinness committed Jan 12, 2018
1 parent a6f2ffc commit 9a10f16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/upload-core/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class Upload {
'X-XSRF-TOKEN': this.getToken(),
'X-Availity-Customer-ID': this.options.customerId,
'X-Client-ID': this.options.clientId,
'Availity-Filename': file.name,
'Availity-Content-Type': file.type,
},
onError: err => {
this.error = err;
Expand Down

0 comments on commit 9a10f16

Please sign in to comment.