Browse Source

fix: owner team can change nickname

tags/v3.2.0
yystopf 4 years ago
parent
commit
30e4ab98db
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/organizations/teams/update_service.rb

+ 1
- 1
app/services/organizations/teams/update_service.rb View File

@@ -25,7 +25,7 @@ class Organizations::Teams::UpdateService < ApplicationService
private
def update_params
if team.authorize == "owner"
update_params = params.slice(:description)
update_params = params.slice(:description, :nickname)
else
update_params = params.slice(:name, :nickname, :description, :authorize, :includes_all_project, :can_create_org_project)
end


Loading…
Cancel
Save