From e1cae3b15b1a85fcb2ef30fee0076ae3a8d23856 Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Fri, 6 May 2016 14:32:08 -0400
Subject: PLT-2600/PLT-2770 Changed getPublicLink api call to return a proper
 JSON string (#2914)

* Removed unused channelId and userId parameters from web client getPublicLink method

* Changed getPublicLink api call to return a proper JSON string
---
 webapp/client/client.jsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'webapp/client/client.jsx')

diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx
index d1e250e12..9bcbeed4e 100644
--- a/webapp/client/client.jsx
+++ b/webapp/client/client.jsx
@@ -1326,10 +1326,8 @@ export default class Client {
             end(this.handleResponse.bind(this, 'getFileInfo', success, error));
     }
 
-    getPublicLink = (channelId, userId, filename, success, error) => {
+    getPublicLink = (filename, success, error) => {
         const data = {
-            channel_id: channelId,
-            user_id: userId,
             filename
         };
 
-- 
cgit v1.2.3-1-g7c22

