Преглед изворни кода

Merge pull request #3620 from n8ores/master

Add attachmentId to the Webhook data
Lauri Ojansivu пре 4 година
родитељ
комит
bf2446614c
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      server/notifications/outgoing.js

+ 2 - 0
server/notifications/outgoing.js

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