mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Add Feature: enable two-way webhooks - add comments need userid
This commit is contained in:
parent
b477fc1b1c
commit
510407467c
1 changed files with 9 additions and 5 deletions
|
@ -55,11 +55,15 @@ Meteor.methods({
|
|||
},
|
||||
});
|
||||
} else {
|
||||
CardComments.insert({
|
||||
text: newComment,
|
||||
cardId,
|
||||
boardId,
|
||||
});
|
||||
const userId = data.userId;
|
||||
if (userId) {
|
||||
CardComments.insert({
|
||||
text: newComment,
|
||||
userId,
|
||||
cardId,
|
||||
boardId,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue