mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fix Card Opened Webhook can not be disabled.
Thanks to mvanvoorden and xet7 ! Closes #2932, closes #2889, closes #2666
This commit is contained in:
parent
92538a6ac3
commit
178f376e21
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
Meteor.startup(() => {
|
Meteor.startup(() => {
|
||||||
if (process.env.CARD_OPENED_WEBHOOK_ENABLED) {
|
if (process.env.CARD_OPENED_WEBHOOK_ENABLED === 'true') {
|
||||||
Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED = true;
|
Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED = true;
|
||||||
|
} else {
|
||||||
|
Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue