Fix issue comment number (#30556)

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

No files matched your search

+4
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()