summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/platform/team.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/platform/team.go b/cmd/platform/team.go
index 1dc5d46eb..eb2939617 100644
--- a/cmd/platform/team.go
+++ b/cmd/platform/team.go
@@ -154,7 +154,7 @@ func addUserToTeam(team *model.Team, user *model.User, userArg string) {
CommandPrintErrorln("Can't find user '" + userArg + "'")
return
}
- if err := app.JoinUserToTeam(team, user); err != nil {
+ if err := app.JoinUserToTeam(team, user, ""); err != nil {
CommandPrintErrorln("Unable to add '" + userArg + "' to " + team.Name)
}
}