mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
implement GET /commands (#5865)
This commit is contained in:
committed by
Joram Wilander
parent
67a8770118
commit
88b8df3146
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user