1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Fix issue comment number (#30556)

This commit is contained in:
Lunny Xiao
2024-12-30 14:35:46 -08:00
committed by GitHub
parent a87168869a
commit a54cc05d2a
5 changed files with 89 additions and 19 deletions

View File

@ -639,6 +639,10 @@ func InsertReviews(ctx context.Context, reviews []*Review) error {
return err
}
}
if err := UpdateIssueNumComments(ctx, review.IssueID); err != nil {
return err
}
}
return committer.Commit()