mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 01:11:13 +03:00
feat: Move webhooks configuration from environment variable to UI
This commit is contained in:
@@ -81,8 +81,11 @@ module.exports = {
|
||||
inputs.request,
|
||||
);
|
||||
|
||||
const webhooks = await Webhook.qm.getAll();
|
||||
|
||||
sails.helpers.utils.sendWebhooks.with({
|
||||
event: 'labelUpdate',
|
||||
webhooks,
|
||||
event: Webhook.Events.LABEL_UPDATE,
|
||||
buildData: () => ({
|
||||
item: label,
|
||||
included: {
|
||||
|
||||
Reference in New Issue
Block a user