Finish up create team
This commit is contained in:
parent
a3970fa75c
commit
237614dcef
6 changed files with 101 additions and 12 deletions
|
@ -329,7 +329,8 @@ def update_organization_team(orgname, teamname):
|
|||
description = json['description'] if 'description' in json else ''
|
||||
role = json['role'] if 'role' in json else 'member'
|
||||
|
||||
team = model.create_team(teamname, orgname, role, description)
|
||||
org = model.get_organization(orgname)
|
||||
team = model.create_team(teamname, org, role, description)
|
||||
|
||||
if is_existing:
|
||||
if 'description' in json:
|
||||
|
|
Reference in a new issue