소스 검색

Add Feature: enable two-way webhooks - fixing lint error

Sam X. Chen 5 년 전
부모
커밋
b477fc1b1c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      server/notifications/outgoing.js

+ 2 - 1
server/notifications/outgoing.js

@@ -41,7 +41,8 @@ Meteor.methods({
     const paramCardId = data.cardId;
     const paramBoardId = data.boardId;
     const newComment = data.comment;
-    if (paramCardId && paramBoardId && newComment) { // only process data with the cardid, boardid and comment text, TODO can expand other functions here to react on returned data
+    if (paramCardId && paramBoardId && newComment) {
+      // only process data with the cardid, boardid and comment text, TODO can expand other functions here to react on returned data
       const comment = CardComments.findOne({
         _id: paramCommentId,
         cardId: paramCardId,