summaryrefslogtreecommitdiffstats
path: root/cmd/platform
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/platform')
-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 f35a97c82..1cb5bd99e 100644
--- a/cmd/platform/team.go
+++ b/cmd/platform/team.go
@@ -130,7 +130,7 @@ func removeUserFromTeam(a *app.App, team *model.Team, user *model.User, userArg
CommandPrintErrorln("Can't find user '" + userArg + "'")
return
}
- if err := a.LeaveTeam(team, user); err != nil {
+ if err := a.LeaveTeam(team, user, ""); err != nil {
CommandPrintErrorln("Unable to remove '" + userArg + "' from " + team.Name + ". Error: " + err.Error())
}
}