瀏覽代碼

change let to const

Omar Sy 7 年之前
父節點
當前提交
fcbbb93bb6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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({
   outgoingWebhooks(integrations, description, params) {