diff options
author | =Corey Hulen <corey@hulen.com> | 2016-02-03 16:11:54 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-02-03 16:11:54 -0800 |
commit | 950e25df5af624a0b06d48f28e9979a0c47a081c (patch) | |
tree | 80473044bdb6cabc21f430ac027ef976bc4bf9d5 /api | |
parent | 4da7b0ccbd1b393613037f8ee5870d5660b36a84 (diff) | |
download | chat-950e25df5af624a0b06d48f28e9979a0c47a081c.tar.gz chat-950e25df5af624a0b06d48f28e9979a0c47a081c.tar.bz2 chat-950e25df5af624a0b06d48f28e9979a0c47a081c.zip |
Fixing build
Diffstat (limited to 'api')
-rw-r--r-- | api/command.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/command.go b/api/command.go index 63e51d655..390cc3770 100644 --- a/api/command.go +++ b/api/command.go @@ -60,7 +60,7 @@ func listCommands(c *Context, w http.ResponseWriter, r *http.Request) { for _, value := range commandProviders { cpy := *value.GetCommand(c) if cpy.AutoComplete && !seen[cpy.Id] { - cpy.Sanatize() + cpy.Sanitize() seen[cpy.Trigger] = true commands = append(commands, &cpy) } @@ -73,7 +73,7 @@ func listCommands(c *Context, w http.ResponseWriter, r *http.Request) { teamCmds := result.Data.([]*model.Command) for _, cmd := range teamCmds { if cmd.AutoComplete && !seen[cmd.Id] { - cmd.Sanatize() + cmd.Sanitize() seen[cmd.Trigger] = true commands = append(commands, cmd) } |