Răsfoiți Sursa

评论页修改

wuyi 2 ani în urmă
părinte
comite
5f493ade50
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 => {