diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2017-04-03 14:12:50 +0200 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-04-03 08:12:50 -0400 |
commit | 88b8df314673ceae08a37a6472296448e83d7442 (patch) | |
tree | ca1e646bbc3daf4f47cb8404d35305a74230f2e6 /api/command.go | |
parent | 67a8770118a7e8902efe537c4257b7442cb651fd (diff) | |
download | chat-88b8df314673ceae08a37a6472296448e83d7442.tar.gz chat-88b8df314673ceae08a37a6472296448e83d7442.tar.bz2 chat-88b8df314673ceae08a37a6472296448e83d7442.zip |
implement GET /commands (#5865)
Diffstat (limited to 'api/command.go')
-rw-r--r-- | api/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |