mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01: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 {
|
} else {
|
||||||
CardComments.insert({
|
const userId = data.userId;
|
||||||
text: newComment,
|
if (userId) {
|
||||||
cardId,
|
CardComments.insert({
|
||||||
boardId,
|
text: newComment,
|
||||||
});
|
userId,
|
||||||
|
cardId,
|
||||||
|
boardId,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue