From c6602ae2b81dcddc43e7b7cc359ea8335953b9d0 Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Wed, 28 Jun 2017 15:42:54 -0400
Subject: PLT-6844 Change file uploading to use superagent (#6785)

* PLT-6844 Change file uploading to use superagent

* Fixed handling of upload errors
---
 webapp/components/file_upload.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/components/file_upload.jsx')

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;
-- 
cgit v1.2.3-1-g7c22

