diff options
Diffstat (limited to 'api/team.go')
-rw-r--r-- | api/team.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/team.go b/api/team.go index ed46947a4..899948a94 100644 --- a/api/team.go +++ b/api/team.go @@ -153,7 +153,7 @@ func addUserToTeam(c *Context, w http.ResponseWriter, r *http.Request) { return } - if _, err := app.AddUserToTeam(c.TeamId, userId); err != nil { + if _, err := app.AddUserToTeam(c.TeamId, userId, ""); err != nil { c.Err = err return } |