Browse Source

change let to const

Omar Sy 7 years ago
parent
commit
fcbbb93bb6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/notifications/outgoing.js

+ 1 - 1
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({
 Meteor.methods({
   outgoingWebhooks(integrations, description, params) {
   outgoingWebhooks(integrations, description, params) {