diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-06-11 10:53:50 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-06-11 10:53:50 +0300 |
commit | 992ecfefa2e46ee7321ec9b8bfc3400532e5645e (patch) | |
tree | c368fec883bde6adb94a384879b7f9ab04090707 /server/notifications | |
parent | 3f1ac6b5db9caab457c3809cdb4c68fdc764a13b (diff) | |
download | wekan-992ecfefa2e46ee7321ec9b8bfc3400532e5645e.tar.gz wekan-992ecfefa2e46ee7321ec9b8bfc3400532e5645e.tar.bz2 wekan-992ecfefa2e46ee7321ec9b8bfc3400532e5645e.zip |
Show attachment name in Outgoing Webhook when attachment is added to card.
Thanks to xet7 !
Related #2285
Diffstat (limited to 'server/notifications')
-rw-r--r-- | server/notifications/outgoing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/notifications/outgoing.js b/server/notifications/outgoing.js index 30744555..655fe824 100644 --- a/server/notifications/outgoing.js +++ b/server/notifications/outgoing.js @@ -18,7 +18,7 @@ Meteor.methods({ // label activity did not work yet, see wekan/models/activities.js const quoteParams = _.clone(params); - ['card', 'list', 'oldList', 'board', 'oldBoard', 'comment', 'checklist', 'swimlane', 'oldSwimlane', 'label'].forEach((key) => { + ['card', 'list', 'oldList', 'board', 'oldBoard', 'comment', 'checklist', 'swimlane', 'oldSwimlane', 'label', 'attachment'].forEach((key) => { if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`; }); |