summaryrefslogtreecommitdiffstats
path: root/webapp/components
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-06-28 15:42:54 -0400
committerJoram Wilander <jwawilander@gmail.com>2017-06-28 15:42:54 -0400
commitc6602ae2b81dcddc43e7b7cc359ea8335953b9d0 (patch)
treed717cf2b8cf82921bf1e0be40c5c37a1db8c03de /webapp/components
parent7bde11d21b8d7f0bdd35a179223d0024484f83e7 (diff)
downloadchat-c6602ae2b81dcddc43e7b7cc359ea8335953b9d0.tar.gz
chat-c6602ae2b81dcddc43e7b7cc359ea8335953b9d0.tar.bz2
chat-c6602ae2b81dcddc43e7b7cc359ea8335953b9d0.zip
PLT-6844 Change file uploading to use superagent (#6785)
* PLT-6844 Change file uploading to use superagent * Fixed handling of upload errors
Diffstat (limited to 'webapp/components')
-rw-r--r--webapp/components/file_upload.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/file_upload.jsx b/webapp/components/file_upload.jsx
index 6b36e83fb..17bb50a2b 100644
--- a/webapp/components/file_upload.jsx
+++ b/webapp/components/file_upload.jsx
@@ -99,7 +99,7 @@ class FileUpload extends React.Component {
channelId,
clientId,
this.fileUploadSuccess.bind(this, channelId),
- this.fileUploadFail.bind(this, clientId)
+ this.fileUploadFail.bind(this, clientId, channelId)
);
const requests = this.state.requests;