diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-03-10 05:18:18 -0500 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-03-10 10:18:18 +0000 |
commit | a8e68bd8905972ae59de90fa33d5b3e3c274dc47 (patch) | |
tree | c809d33800262830f2497813fcea2c5bb482ac1b /api/command.go | |
parent | 43e5bbea372cb2c4a98d00fae19cdabd165a8f48 (diff) | |
download | chat-a8e68bd8905972ae59de90fa33d5b3e3c274dc47.tar.gz chat-a8e68bd8905972ae59de90fa33d5b3e3c274dc47.tar.bz2 chat-a8e68bd8905972ae59de90fa33d5b3e3c274dc47.zip |
PLT-5765 Passed SiteURL to SendNotifications (#5705)
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 c3a64702f..9acc3485c 100644 --- a/api/command.go +++ b/api/command.go @@ -251,7 +251,7 @@ func handleResponse(c *Context, w http.ResponseWriter, response *model.CommandRe } } - if _, err := app.CreateCommandPost(post, c.TeamId, response); err != nil { + if _, err := app.CreateCommandPost(post, c.TeamId, response, c.GetSiteURL()); err != nil { l4g.Error(err.Error()) } |