fix: build owner team need nickname

This commit is contained in:
vilet.yy 2021-05-08 15:07:41 +08:00
parent f470807225
commit 5c9702b308
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Organizations::CreateService < ApplicationService
end
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.build(organization.id, owner_team.id, u_type)
end