Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbugagazavr <kirik910@gmail.com>2015-01-24 03:10:43 +0300
committerKirill Zaitsev <kirik910@gmail.com>2015-04-25 21:31:52 +0300
commit548f182814acd0f7a110e6c165c186e345901b00 (patch)
tree26bb991cb343dd48c81f1004016817e634ee5039 /app/services/test_hook_service.rb
parent5cb325b50188fb2ba6483e710a29350c4b0b06ae (diff)
Added X-GitLab-Event header for web hooks
Diffstat (limited to 'app/services/test_hook_service.rb')
-rw-r--r--app/services/test_hook_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/test_hook_service.rb b/app/services/test_hook_service.rb
index 21ec2c01cb8..e85e58751e7 100644
--- a/app/services/test_hook_service.rb
+++ b/app/services/test_hook_service.rb
@@ -1,6 +1,6 @@
class TestHookService
def execute(hook, current_user)
data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
- hook.execute(data)
+ hook.execute(data, 'push_hooks')
end
end