Commit 2edc4662 authored by Sean McGivern's avatar Sean McGivern

Fix PostReceive hooks call

parent c724049e
......@@ -32,11 +32,11 @@ class PostReceive
hook_data = {
event_name: 'repository_update',
project_id: post_received.project.id,
project: project.hook_attrs,
project: post_received.project.hook_attrs,
remote_url: post_received.project.ssh_url_to_repo
}
SystemHooksService.new.execute_hooks(hook_data, :repository_update)
SystemHooksService.new.execute_hooks(hook_data, :repository_update_hooks)
end
process_project_changes(post_received)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment