diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-07 13:29:12 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-07 17:40:32 +0200 |
commit | 9e2015752848c908d99a26daf3c0e6e968b95f68 (patch) | |
tree | b41f1e781d346867a8198cc139de73c50ec77049 /app/services/web_hook_service.rb | |
parent | d2cafa894a9e15e3f8827029ead064543d2a3b19 (diff) | |
download | gitlab-ce-9e2015752848c908d99a26daf3c0e6e968b95f68.tar.gz |
Fix a wrong `X-Gitlab-Event` header when testing webhooks37288-fix-wrong-header-when-testing-webhook
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/services/web_hook_service.rb')
-rw-r--r-- | app/services/web_hook_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/web_hook_service.rb b/app/services/web_hook_service.rb index 2825478926a..cd99e0b90f9 100644 --- a/app/services/web_hook_service.rb +++ b/app/services/web_hook_service.rb @@ -19,7 +19,7 @@ class WebHookService def initialize(hook, data, hook_name) @hook = hook @data = data - @hook_name = hook_name + @hook_name = hook_name.to_s end def execute |