diff options
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/async_client.jsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx index ac651a7bb..1dcead326 100644 --- a/webapp/utils/async_client.jsx +++ b/webapp/utils/async_client.jsx @@ -1344,8 +1344,8 @@ export function regenCommandToken(id) { ); } -export function getPublicLink(channelId, userId, filename, success, error) { - const callName = 'getPublicLink' + channelId + userId + filename; +export function getPublicLink(filename, success, error) { + const callName = 'getPublicLink' + filename; if (isCallInProgress(callName)) { return; @@ -1354,8 +1354,6 @@ export function getPublicLink(channelId, userId, filename, success, error) { callTracker[callName] = utils.getTimestamp(); Client.getPublicLink( - channelId, - userId, filename, (link) => { callTracker[callName] = 0; |