From d11382b5533f03d01d9e57bfb05598f7d45bd694 Mon Sep 17 00:00:00 2001 From: Innei Date: Thu, 25 Apr 2024 13:38:44 +0800 Subject: [PATCH] fix: extends parent `isWhispers` Signed-off-by: Innei --- apps/core/src/modules/comment/comment.controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/core/src/modules/comment/comment.controller.ts b/apps/core/src/modules/comment/comment.controller.ts index 0a194dad..c3a038ca 100644 --- a/apps/core/src/modules/comment/comment.controller.ts +++ b/apps/core/src/modules/comment/comment.controller.ts @@ -252,6 +252,7 @@ export class CommentController { ...body, ...ipLocation, key, + isWhispers: parent.isWhispers, } const comment = await this.commentService.model.create(model)