From 6c75662b824491a20a757a5eec59556a866374b5 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Fri, 6 May 2016 11:28:22 -0700 Subject: PLT-2697 Fixing team admins (#2900) * PLT-2697 Fixing team admins * Fixing eslint error * Fixing loc issues * Fixing func * Fixing func --- mattermost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mattermost.go') diff --git a/mattermost.go b/mattermost.go index 172c42aa1..be9b08a95 100644 --- a/mattermost.go +++ b/mattermost.go @@ -721,7 +721,7 @@ func cmdAssignRole() { } if !user.IsInRole(flagRole) { - api.UpdateRoles(c, user, flagRole) + api.UpdateUserRoles(c, user, flagRole) } os.Exit(0) -- cgit v1.2.3-1-g7c22