wuyi 2 лет назад
Родитель
Сommit
5f493ade50
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/comment/comment.service.ts

+ 1 - 1
src/comment/comment.service.ts

@@ -60,7 +60,7 @@ export class CommentService {
 
         const childList = await this.commentRepository.createQueryBuilder()
             .where({
-                id: In(ids),
+                rootCommentId: In(ids),
             }).getMany();
 
         childList.forEach(comment => {