diff options
author | Nicolas Clerc <kernicPanel@nclerc.fr> | 2016-02-15 09:15:31 +0100 |
---|---|---|
committer | Nicolas Clerc <kernicPanel@nclerc.fr> | 2016-03-17 01:45:37 +0100 |
commit | 55a054ab0a55a269965f6baf227a4b4029459d0f (patch) | |
tree | edaa642d07c479d603eb1c7f4851a0d875e4842d /webapp/utils | |
parent | 5e2596598f97e318f1e4e8bd835b08a011fa0b60 (diff) | |
download | chat-55a054ab0a55a269965f6baf227a4b4029459d0f.tar.gz chat-55a054ab0a55a269965f6baf227a4b4029459d0f.tar.bz2 chat-55a054ab0a55a269965f6baf227a4b4029459d0f.zip |
fix eslint errors
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/async_client.jsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx index 3e2a706d4..9a5869f9a 100644 --- a/webapp/utils/async_client.jsx +++ b/webapp/utils/async_client.jsx @@ -756,10 +756,7 @@ export function savePreferences(preferences, success, error) { } export function getSuggestedCommands(command, channelId, suggestionId, component) { - client.listCommands({ - command: command, - channelId: channelId - }, + client.listCommands({command: command, channelId: channelId}, (data) => { var matches = []; data.forEach((cmd) => { |