fix: org team nickname change error

This commit is contained in:
vilet.yy 2021-04-19 12:14:11 +08:00 committed by jasder
parent 55e081ba2b
commit 2976742b29
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class Organizations::Teams::UpdateService < ApplicationService
if team.authorize == "owner"
update_params = params.slice(:description)
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
update_params
end