|
|
@ -15,9 +15,9 @@ module OpenProject::GithubIntegration |
|
|
|
|
|
|
|
|
|
|
|
payload = Hash.new |
|
|
|
payload = Hash.new |
|
|
|
payload.merge! params.require('webhook') |
|
|
|
payload.merge! params.require('webhook') |
|
|
|
payload.merge! user_id: user.id, |
|
|
|
payload.merge! 'user_id' => user.id, |
|
|
|
github_event: event_type, |
|
|
|
'github_event' => event_type, |
|
|
|
github_delivery: event_delivery |
|
|
|
'github_delivery' => event_delivery |
|
|
|
|
|
|
|
|
|
|
|
OpenProject::Notifications.send(event_name(event_type), payload) |
|
|
|
OpenProject::Notifications.send(event_name(event_type), payload) |
|
|
|
|
|
|
|
|
|
|
|