From 88b8df314673ceae08a37a6472296448e83d7442 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Mon, 3 Apr 2017 14:12:50 +0200 Subject: implement GET /commands (#5865) --- api/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/command.go') diff --git a/api/command.go b/api/command.go index 2248caf76..b97295160 100644 --- a/api/command.go +++ b/api/command.go @@ -34,7 +34,7 @@ func InitCommand() { } func listCommands(c *Context, w http.ResponseWriter, r *http.Request) { - commands, err := app.ListCommands(c.TeamId, c.T) + commands, err := app.ListAutocompleteCommands(c.TeamId, c.T) if err != nil { c.Err = err return -- cgit v1.2.3-1-g7c22