diff options
author | bugagazavr <kirik910@gmail.com> | 2015-01-24 03:10:43 +0300 |
---|---|---|
committer | Kirill Zaitsev <kirik910@gmail.com> | 2015-05-08 16:49:03 +0300 |
commit | acac7889023de96af61d293d855c33996bd780a1 (patch) | |
tree | 83d3d7ef3e7a12eca12843bccf92b6bd080b648a /app/workers/system_hook_worker.rb | |
parent | 0fc6f0b5d406f530e9ad8a35f0188536f6525cb9 (diff) | |
download | gitlab-ce-acac7889023de96af61d293d855c33996bd780a1.tar.gz |
Added X-GitLab-Event header for web hooks
Diffstat (limited to 'app/workers/system_hook_worker.rb')
-rw-r--r-- | app/workers/system_hook_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/system_hook_worker.rb b/app/workers/system_hook_worker.rb index 3ebc62b7e7a..a122c274763 100644 --- a/app/workers/system_hook_worker.rb +++ b/app/workers/system_hook_worker.rb @@ -3,7 +3,7 @@ class SystemHookWorker sidekiq_options queue: :system_hook - def perform(hook_id, data) - SystemHook.find(hook_id).execute data + def perform(hook_id, data, hook_name) + SystemHook.find(hook_id).execute(data, hook_name) end end |