summaryrefslogtreecommitdiff
path: root/app/services/protected_branches/create_service.rb
diff options
context:
space:
mode:
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 ea494dd4426..dada449989a 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(filtered_params)
+ @protected_branch ||= project.protected_branches.new(params)
end
end
end