mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-05 09:55:20 +02:00
Fix issue comment number (#30556)
(cherry picked from commit a54cc05d2a19262a8d59f2b90fbcdd9ee5199ca8) Conflicts: models/issues/comment_test.go trivial context conflicts
This commit is contained in:
parent
af91f4e203
commit
15ff226a5b
5 changed files with 90 additions and 19 deletions
|
@ -614,6 +614,10 @@ func InsertReviews(ctx context.Context, reviews []*Review) error {
|
|||
return err
|
||||
}
|
||||
}
|
||||
|
||||
if err := UpdateIssueNumComments(ctx, review.IssueID); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return committer.Commit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue