diff options
Diffstat (limited to 'api/command_echo.go')
-rw-r--r-- | api/command_echo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_echo.go b/api/command_echo.go index 5caa41759..997ee0751 100644 --- a/api/command_echo.go +++ b/api/command_echo.go @@ -81,7 +81,7 @@ func (me *EchoProvider) DoCommand(c *Context, channelId string, message string) time.Sleep(time.Duration(delay) * time.Second) - if _, err := CreatePost(c.TeamId, post, true); err != nil { + if _, err := CreatePost(c, post, true); err != nil { l4g.Error(c.T("api.command_echo.create.app_error"), err) } }() |