summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mattermost.go b/mattermost.go
index 9786a6abd..4b0d5d0ad 100644
--- a/mattermost.go
+++ b/mattermost.go
@@ -309,7 +309,7 @@ func cmdCreateUser() {
user.TeamId = team.Id
}
- _, err := api.CreateUser(team, user)
+ _, err := api.CreateUser(utils.T, team, user)
if err != nil {
if err.Message != "An account with that email already exists." {
l4g.Error("%v", err)