1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-09-15 18:56:59 +00:00

Fix the logic of finding the latest pull review commit ID (#32139)

Fix #31423

(cherry picked from commit f4b8f6fc40ce2869135372a5c6ec6418d27ebfba)

Conflicts:
	models/fixtures/comment.yml
  comment fixtures have to be shifted because there is one more in Forgejo
This commit is contained in:
Zettat123 2024-10-01 09:58:55 +08:00 committed by Earl Warren
parent 0ae05e1000
commit 700e9f027b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
11 changed files with 88 additions and 11 deletions

View file

@ -82,7 +82,6 @@ func ListPullReviews(ctx *context.APIContext) {
opts := issues_model.FindReviewOptions{
ListOptions: utils.GetListOptions(ctx),
Type: issues_model.ReviewTypeUnknown,
IssueID: pr.IssueID,
}