summaryrefslogtreecommitdiffstats
path: root/api/command.go
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2017-04-03 14:12:50 +0200
committerJoram Wilander <jwawilander@gmail.com>2017-04-03 08:12:50 -0400
commit88b8df314673ceae08a37a6472296448e83d7442 (patch)
treeca1e646bbc3daf4f47cb8404d35305a74230f2e6 /api/command.go
parent67a8770118a7e8902efe537c4257b7442cb651fd (diff)
downloadchat-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.go2
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