diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-23 18:08:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-23 18:08:18 +0300 |
commit | f9c23393a5f12ab0cb2a72c05b5fb0c269d6bca9 (patch) | |
tree | 60fd8b0f0c85f08f665ecb3a47d0062de19a210d /app/services/groups | |
parent | 3b51bf5f5a3e8dc324baceafc87843d3fa068399 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/groups')
-rw-r--r-- | app/services/groups/update_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/groups/update_service.rb b/app/services/groups/update_service.rb index 925a2acbb58..df6ede87ef9 100644 --- a/app/services/groups/update_service.rb +++ b/app/services/groups/update_service.rb @@ -117,6 +117,7 @@ module Groups def handle_settings_update settings_params = params.slice(*allowed_settings_params) + settings_params.merge!({ default_branch_protection: params[:default_branch_protection] }.compact) allowed_settings_params.each { |param| params.delete(param) } ::NamespaceSettings::UpdateService.new(current_user, group, settings_params).execute |