summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-27 11:22:33 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-27 11:22:33 +0300
commit38e2ae5ae0a8e0ca5baefbd0ffc41cc11eba2db1 (patch)
treed4a198282d540f549811fe35de73b7b3b3d06f8d /lib
parent7ee1d68e0dae07a9dfefd51994c848449d8b6e11 (diff)
parent548f182814acd0f7a110e6c165c186e345901b00 (diff)
downloadgitlab-ce-38e2ae5ae0a8e0ca5baefbd0ffc41cc11eba2db1.tar.gz
Merge pull request #8644 from Bugagazavr/hook-events
Add X-GitLab-Event header for web hooks
Diffstat (limited to 'lib')
-rw-r--r--lib/api/system_hooks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/system_hooks.rb b/lib/api/system_hooks.rb
index 518964db50d..22b8f90dc5c 100644
--- a/lib/api/system_hooks.rb
+++ b/lib/api/system_hooks.rb
@@ -47,7 +47,7 @@ module API
owner_name: "Someone",
owner_email: "example@gitlabhq.com"
}
- @hook.execute(data)
+ @hook.execute(data, 'system_hooks')
data
end