From fcbbb93bb663eec04e53230e447b2846f28d86e6 Mon Sep 17 00:00:00 2001 From: Omar Sy Date: Wed, 22 Aug 2018 15:07:46 +0200 Subject: change let to const --- server/notifications/outgoing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notifications/outgoing.js b/server/notifications/outgoing.js index 7e3ee60c..b35b3b2e 100644 --- a/server/notifications/outgoing.js +++ b/server/notifications/outgoing.js @@ -8,7 +8,7 @@ const postCatchError = Meteor.wrapAsync((url, options, resolve) => { }); }); -let webhooksAtbts = ( (process.env.WEBHOOKS_ATTRIBUTES && process.env.WEBHOOKS_ATTRIBUTES.split(',') ) || ['cardId', 'listId', 'oldListId', 'boardId', 'comment', 'user', 'card', 'commentId']); +const webhooksAtbts = ( (process.env.WEBHOOKS_ATTRIBUTES && process.env.WEBHOOKS_ATTRIBUTES.split(',') ) || ['cardId', 'listId', 'oldListId', 'boardId', 'comment', 'user', 'card', 'commentId']); Meteor.methods({ outgoingWebhooks(integrations, description, params) { -- cgit v1.2.3-1-g7c22