fix: hooks.unfurl check (#10884)

This commit is contained in:
Tom Moor
2025-12-12 22:54:56 -05:00
committed by GitHub
parent a51188882b
commit 4777a90fa9

View File

@@ -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;
}