diff options
Diffstat (limited to 'models/activities.js')
-rw-r--r-- | models/activities.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/models/activities.js b/models/activities.js index 9a41d4aa..f1e52493 100644 --- a/models/activities.js +++ b/models/activities.js @@ -131,5 +131,10 @@ if (Meteor.isServer) { Notifications.getUsers(participants, watchers).forEach((user) => { Notifications.notify(user, title, description, params); }); + + const integration = Integrations.findOne({ boardId: board._id, type: 'outgoing-webhooks', enabled: true }); + if (integration) { + Meteor.call('outgoingWebhooks', integration, description, params); + } }); } |