diff options
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 b97295160..75f37b9ff 100644 --- a/api/command.go +++ b/api/command.go @@ -66,7 +66,7 @@ func executeCommand(c *Context, w http.ResponseWriter, r *http.Request) { commandArgs.UserId = c.Session.UserId commandArgs.T = c.T commandArgs.Session = c.Session - commandArgs.SiteURL = c.GetSiteURL() + commandArgs.SiteURL = c.GetSiteURLHeader() response, err := app.ExecuteCommand(commandArgs) if err != nil { |