Revert "PLT-2183 Slash command auto-complete"

Этот коммит содержится в:
Christopher Speller
2016-03-18 13:16:51 -04:00
родитель 6d586c7309
Коммит 35320efe1a
14 изменённых файлов: 151 добавлений и 333 удалений

Просмотреть файл

@@ -1031,13 +1031,12 @@ export function regenCommandToken(data, success, error) {
});
}
export function listCommands(data, success, error) {
export function listCommands(success, error) {
$.ajax({
url: '/api/v1/commands/list',
dataType: 'json',
contentType: 'application/json',
type: 'POST',
data: JSON.stringify(data),
type: 'GET',
success,
error: function onError(xhr, status, err) {
var e = handleError('listCommands', xhr, status, err);