Skip to content

Commit

Permalink
Give all units to owner team (#1812)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethantkoenig authored and lunny committed May 26, 2017
1 parent 9c66d1d commit 39348cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func CreateOrganization(org, owner *User) (err error) {
Name: ownerTeamName,
Authorize: AccessModeOwner,
NumMembers: 1,
UnitTypes: allRepUnitTypes,
}
if _, err = sess.Insert(t); err != nil {
return fmt.Errorf("insert owner team: %v", err)
Expand Down

0 comments on commit 39348cd

Please sign in to comment.