浏览代码

Add AttachmentId to webhook data

n8ores 4 年之前
父节点
当前提交
73f36bcf33
共有 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]}"`;
         });