|
|
|
@ -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) |
|
|
|
|
|
|
|
|
|