summaryrefslogtreecommitdiffstats
path: root/api/command.go
diff options
context:
space:
mode:
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 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())
}