Add some IDs to webhook body

This commit is contained in:
Andrés Manelli 2017-08-15 11:08:16 -03:00
parent 1e7e9d2715
commit a96ece2c11
2 changed files with 10 additions and 0 deletions

View file

@ -28,6 +28,11 @@ Meteor.methods({
text: `${text}`,
};
['cardId', 'listId', 'oldListId', 'boardId'].forEach((key) => {
if (params[key]) value[key] = params[key];
});
value['description'] = description;
const options = {
headers: {
// 'Content-Type': 'application/json',