summaryrefslogtreecommitdiffstats
path: root/server/notifications
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2017-08-15 11:08:16 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2017-08-16 11:09:32 -0300
commita96ece2c1158ec6ad743266fe6bd057da6e7a5bc (patch)
tree6251eb9818678a836fceeb9c1e4ee19d292897ea /server/notifications
parent1e7e9d27155b9d438485bd04a7e414bb8767fd3f (diff)
downloadwekan-a96ece2c1158ec6ad743266fe6bd057da6e7a5bc.tar.gz
wekan-a96ece2c1158ec6ad743266fe6bd057da6e7a5bc.tar.bz2
wekan-a96ece2c1158ec6ad743266fe6bd057da6e7a5bc.zip
Add some IDs to webhook body
Diffstat (limited to 'server/notifications')
-rw-r--r--server/notifications/outgoing.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/notifications/outgoing.js b/server/notifications/outgoing.js
index a5bbc737..88e50fa0 100644
--- a/server/notifications/outgoing.js
+++ b/server/notifications/outgoing.js
@@ -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',