diff options
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mattermost.go b/mattermost.go index 7446fe791..b305aac3c 100644 --- a/mattermost.go +++ b/mattermost.go @@ -282,7 +282,7 @@ func cmdCreateTeam() { team.DisplayName = flagTeamName team.Name = flagTeamName team.Email = flagEmail - team.Type = model.TEAM_INVITE + team.Type = model.TEAM_OPEN api.CreateTeam(c, team) if c.Err != nil { |