mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 09:15:39 +03:00
feat: Move webhooks configuration from environment variable to UI
This commit is contained in:
@@ -200,8 +200,11 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
const webhooks = await Webhook.qm.getAll();
|
||||
|
||||
sails.helpers.utils.sendWebhooks.with({
|
||||
event: 'userUpdate',
|
||||
webhooks,
|
||||
event: Webhook.Events.USER_UPDATE,
|
||||
buildData: () => ({
|
||||
item: sails.helpers.users.presentOne(user),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user