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