summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorValeriy Sizov <vsv2711@gmail.com>2015-05-08 17:17:01 +0300
committerValeriy Sizov <vsv2711@gmail.com>2015-05-08 17:17:01 +0300
commitf682a6adb961a54d340762a40596e058608a2e05 (patch)
treea9e208180a9dc388514e4531657d8131919935dd /lib
parenta1399c3c30798a6a14771b3d562f3d467f96c91e (diff)
parentacac7889023de96af61d293d855c33996bd780a1 (diff)
downloadgitlab-ce-f682a6adb961a54d340762a40596e058608a2e05.tar.gz
Merge pull request #9214 from Bugagazavr/hook-events
Added 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