mirror of
https://github.com/outline/outline.git
synced 2025-12-19 01:29:41 -06:00
fix: hooks.unfurl check (#10884)
This commit is contained in:
@@ -96,7 +96,7 @@ router.post(
|
||||
|
||||
if (commentId) {
|
||||
const comment = await Comment.findByPk(commentId as string);
|
||||
if (!comment) {
|
||||
if (!comment || comment.documentId !== doc.id) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user