mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Add some parameters to webhook
This commit is contained in:
parent
eb945f26a3
commit
196f959f1d
2 changed files with 5 additions and 1 deletions
|
|
@ -29,7 +29,10 @@ Meteor.methods({
|
|||
text: `${text}`,
|
||||
};
|
||||
|
||||
['cardId', 'listId', 'oldListId', 'boardId'].forEach((key) => {
|
||||
[ 'cardId', 'listId', 'oldListId',
|
||||
'boardId', 'comment', 'user',
|
||||
'card', 'commentId'
|
||||
].forEach((key) => {
|
||||
if (params[key]) value[key] = params[key];
|
||||
});
|
||||
value.description = description;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue