summaryrefslogtreecommitdiffstats
path: root/api4/team.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/team.go')
-rw-r--r--api4/team.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/team.go b/api4/team.go
index c88c553fb..71046c790 100644
--- a/api4/team.go
+++ b/api4/team.go
@@ -41,7 +41,7 @@ func createTeam(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- rteam, err := app.CreateTeamWithUser(team, c.Session.UserId)
+ rteam, err := app.CreateTeamWithUser(team, c.Session.UserId, c.GetSiteURL())
if err != nil {
c.Err = err
return