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

This commit is contained in:
Sam X. Chen 2019-08-29 23:49:32 -04:00
parent 58155288fb
commit b477fc1b1c

View file

@ -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,