FIX craete team bug
This commit is contained in:
commit
8341c177b6
|
@ -54,7 +54,7 @@ class Organizations::CreateService < ApplicationService
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_owner_info
|
def create_owner_info
|
||||||
@owner_team = Team.build(organization.id, "Owners", "", 4, true, true)
|
@owner_team = Team.build(organization.id, "Owners", "Owner团队", "", 4, true, true)
|
||||||
TeamUnit.unit_types.keys.each do |u_type|
|
TeamUnit.unit_types.keys.each do |u_type|
|
||||||
TeamUnit.build(organization.id, owner_team.id, u_type)
|
TeamUnit.build(organization.id, owner_team.id, u_type)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue