summaryrefslogtreecommitdiffstats
path: root/webapp/utils/async_client.jsx
diff options
context:
space:
mode:
authorNicolas Clerc <kernicPanel@nclerc.fr>2016-02-15 09:15:31 +0100
committerNicolas Clerc <kernicPanel@nclerc.fr>2016-03-17 01:45:37 +0100
commit55a054ab0a55a269965f6baf227a4b4029459d0f (patch)
treeedaa642d07c479d603eb1c7f4851a0d875e4842d /webapp/utils/async_client.jsx
parent5e2596598f97e318f1e4e8bd835b08a011fa0b60 (diff)
downloadchat-55a054ab0a55a269965f6baf227a4b4029459d0f.tar.gz
chat-55a054ab0a55a269965f6baf227a4b4029459d0f.tar.bz2
chat-55a054ab0a55a269965f6baf227a4b4029459d0f.zip
fix eslint errors
Diffstat (limited to 'webapp/utils/async_client.jsx')
-rw-r--r--webapp/utils/async_client.jsx5
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) => {