fix: org team nickname change error
This commit is contained in:
parent
01f32ae2d7
commit
8055ae2c07
|
@ -27,7 +27,7 @@ class Organizations::Teams::UpdateService < ApplicationService
|
||||||
if team.authorize == "owner"
|
if team.authorize == "owner"
|
||||||
update_params = params.slice(:description)
|
update_params = params.slice(:description)
|
||||||
else
|
else
|
||||||
update_params = params.slice(:name, :description, :authorize, :includes_all_project, :can_create_org_project)
|
update_params = params.slice(:name, :nickname, :description, :authorize, :includes_all_project, :can_create_org_project)
|
||||||
end
|
end
|
||||||
update_params
|
update_params
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue