Browse Source

Add AttachmentId to webhook data

n8ores 4 years ago
parent
commit
73f36bcf33
1 changed files with 2 additions and 0 deletions
  1. 2 0
      server/notifications/outgoing.js

+ 2 - 0
server/notifications/outgoing.js

@@ -63,6 +63,7 @@ if (Meteor.isServer) {
     'swimlaneId',
     'swimlaneId',
     'customField',
     'customField',
     'customFieldValue',
     'customFieldValue',
+    'attachmentId'
   ];
   ];
   const responseFunc = data => {
   const responseFunc = data => {
     const paramCommentId = data.commentId;
     const paramCommentId = data.commentId;
@@ -124,6 +125,7 @@ if (Meteor.isServer) {
           'oldSwimlane',
           'oldSwimlane',
           'label',
           'label',
           'attachment',
           'attachment',
+          'attachmentId'
         ].forEach(key => {
         ].forEach(key => {
           if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`;
           if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`;
         });
         });