summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/card-opened-webhook.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/card-opened-webhook.js b/server/card-opened-webhook.js
index 242ae7ca..3c94d104 100644
--- a/server/card-opened-webhook.js
+++ b/server/card-opened-webhook.js
@@ -1,5 +1,7 @@
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;
+ } else {
+ Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED = false;
}
});