diff options
Diffstat (limited to 'webapp/actions')
-rw-r--r-- | webapp/actions/team_actions.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/team_actions.jsx b/webapp/actions/team_actions.jsx index ea6be8504..3bf25c193 100644 --- a/webapp/actions/team_actions.jsx +++ b/webapp/actions/team_actions.jsx @@ -24,7 +24,7 @@ export function createTeam(team, onSuccess, onError) { AppDispatcher.handleServerAction({ type: ActionTypes.CREATED_TEAM, team: rteam, - member: {team_id: rteam.id, user_id: UserStore.getCurrentId(), roles: 'admin'} + member: {team_id: rteam.id, user_id: UserStore.getCurrentId(), roles: 'team_admin team_user'} }); browserHistory.push('/' + rteam.name + '/channels/town-square'); |