mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Add call outgoing webhooks method
This commit is contained in:
parent
0d5e829c56
commit
0e6cfdbb2a
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue