mirror of
https://github.com/outline/outline.git
synced 2026-11-26 23:50:14 +03:00
fix: hooks.unfurl check (#10884)
This commit is contained in:
1 parent
a51188882b
commit
4777a90fa9
1 file changed
+1
-1
@@ -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