From d4b47ca01aa31dc246f6697f7bac2adda0bba860 Mon Sep 17 00:00:00 2001 From: Philipp Tessenow Date: Mon, 24 Mar 2014 10:50:58 +0100 Subject: [PATCH] the event payload shall have string-only keys --- lib/open_project/github_integration/hook_handler.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/open_project/github_integration/hook_handler.rb b/lib/open_project/github_integration/hook_handler.rb index 91cdc54666..98102cfcf4 100644 --- a/lib/open_project/github_integration/hook_handler.rb +++ b/lib/open_project/github_integration/hook_handler.rb @@ -15,9 +15,9 @@ module OpenProject::GithubIntegration payload = Hash.new payload.merge! params.require('webhook') - payload.merge! user_id: user.id, - github_event: event_type, - github_delivery: event_delivery + payload.merge! 'user_id' => user.id, + 'github_event' => event_type, + 'github_delivery' => event_delivery OpenProject::Notifications.send(event_name(event_type), payload)