summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) => {