Add some parameters to webhook

This commit is contained in:
Andrés Manelli 2017-09-29 17:11:13 -03:00
parent eb945f26a3
commit 196f959f1d
2 changed files with 5 additions and 1 deletions

View file

@ -29,7 +29,10 @@ Meteor.methods({
text: `${text}`,
};
['cardId', 'listId', 'oldListId', 'boardId'].forEach((key) => {
[ 'cardId', 'listId', 'oldListId',
'boardId', 'comment', 'user',
'card', 'commentId'
].forEach((key) => {
if (params[key]) value[key] = params[key];
});
value.description = description;