Skip to content

Commit

Permalink
Fixing problem after update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed May 2, 2019
1 parent 0b83c43 commit 8d33fd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "src/index.js",
"scripts": {
"build": "webpack --mode=production",
"build-dev": "webpack --mode=development --devtool source-map",
"lint": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx . --quiet",
"fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx . --quiet --fix"
},
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function uploadFile(file, name, channelId, rootId, clientId) {

return request.
post(Client4.getFilesRoute()).
set(Client4.getOptions().headers).
set(Client4.getOptions({}).headers).
attach('files', file, name).
field('channel_id', channelId).
field('client_ids', clientId).
Expand Down

0 comments on commit 8d33fd5

Please sign in to comment.