Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Mar 1, 2022
1 parent 437cd02 commit 74b5224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/comment/comment.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export class CommentService {
const actionResult = await this.commentModel
.updateMany({ _id: { $in: comment_ids } }, { $set: { state } }, { multi: true })
.exec()
// 更新关联数据
// update ref article.meta.comments
this.updateCommentsCountWithArticles(post_ids)
try {
const todoComments = await this.commentModel.find({ _id: { $in: comment_ids } })
Expand Down

0 comments on commit 74b5224

Please sign in to comment.