From 55a054ab0a55a269965f6baf227a4b4029459d0f Mon Sep 17 00:00:00 2001 From: Nicolas Clerc Date: Mon, 15 Feb 2016 09:15:31 +0100 Subject: fix eslint errors --- webapp/utils/async_client.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'webapp/utils/async_client.jsx') 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) => { -- cgit v1.2.3-1-g7c22