summaryrefslogtreecommitdiff
path: root/app/services/protected_branches/create_service.rb
diff options
context:
space:
mode:
authorGitLab Release Tools Bot <delivery-team+release-tools@gitlab.com>2021-12-06 23:11:24 +0000
committerGitLab Release Tools Bot <delivery-team+release-tools@gitlab.com>2021-12-06 23:11:24 +0000
commit859d87224c756ee7c492f8cd03796c0c1f39b5b1 (patch)
tree33533cede7d7baa81bfb3dd7655d5d98bc59e125 /app/services/protected_branches/create_service.rb
parentb46b1a8bf2602a42329c0f6d0a7c40d74deb4e34 (diff)
parent314aa87d52b166ef0de60736f28fec1b5549c7eb (diff)
downloadgitlab-ce-859d87224c756ee7c492f8cd03796c0c1f39b5b1.tar.gz
Merge remote-tracking branch 'dev/14-3-stable' into 14-3-stable14-3-stable
Diffstat (limited to 'app/services/protected_branches/create_service.rb')
-rw-r--r--app/services/protected_branches/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/protected_branches/create_service.rb b/app/services/protected_branches/create_service.rb
index dada449989a..ea494dd4426 100644
--- a/app/services/protected_branches/create_service.rb
+++ b/app/services/protected_branches/create_service.rb
@@ -21,7 +21,7 @@ module ProtectedBranches
end
def protected_branch
- @protected_branch ||= project.protected_branches.new(params)
+ @protected_branch ||= project.protected_branches.new(filtered_params)
end
end
end