From e1cae3b15b1a85fcb2ef30fee0076ae3a8d23856 Mon Sep 17 00:00:00 2001 From: Harrison Healey 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/action_creators/global_actions.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'webapp/action_creators') diff --git a/webapp/action_creators/global_actions.jsx b/webapp/action_creators/global_actions.jsx index c1bb4dbc8..6bb0c1732 100644 --- a/webapp/action_creators/global_actions.jsx +++ b/webapp/action_creators/global_actions.jsx @@ -281,12 +281,10 @@ export function showGetPostLinkModal(post) { }); } -export function showGetPublicLinkModal(channelId, userId, filename) { +export function showGetPublicLinkModal(filename) { AppDispatcher.handleViewAction({ type: ActionTypes.TOGGLE_GET_PUBLIC_LINK_MODAL, value: true, - channelId, - userId, filename }); } -- cgit v1.2.3-1-g7c22