summaryrefslogtreecommitdiff
path: root/app/services/git_push_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/git_push_service.rb')
-rw-r--r--app/services/git_push_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb
index d21ebf7da55..36eac3c88f0 100644
--- a/app/services/git_push_service.rb
+++ b/app/services/git_push_service.rb
@@ -152,8 +152,8 @@ class GitPushService < BaseService
Ci::CreatePipelineService.new(project, current_user, push_data).execute(:push)
SystemHookPushWorker.perform_async(push_data, :push_hooks)
- project.execute_hooks(push_data.dup, :push_hooks)
- project.execute_services(push_data.dup, :push_hooks)
+ project.execute_hooks(push_data, :push_hooks)
+ project.execute_services(push_data, :push_hooks)
if push_remove_branch?
AfterBranchDeleteService