diff options
author | Zettat123 <zettat123@gmail.com> | 2024-10-01 09:58:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 01:58:55 +0000 |
commit | f4b8f6fc40ce2869135372a5c6ec6418d27ebfba (patch) | |
tree | b27dca5e2fe9b455dfa20e2080a8c77b3f90c000 /routers/api/v1 | |
parent | 13283873e9d523d5a5557f55d64f702c1a9f76ec (diff) | |
download | gitea-f4b8f6fc40ce2869135372a5c6ec6418d27ebfba.tar.gz gitea-f4b8f6fc40ce2869135372a5c6ec6418d27ebfba.zip |
Fix the logic of finding the latest pull review commit ID (#32139)
Fix #31423
Diffstat (limited to 'routers/api/v1')
-rw-r--r-- | routers/api/v1/repo/pull_review.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/api/v1/repo/pull_review.go b/routers/api/v1/repo/pull_review.go index c2e4966498..34bbaf5600 100644 --- a/routers/api/v1/repo/pull_review.go +++ b/routers/api/v1/repo/pull_review.go @@ -83,7 +83,6 @@ func ListPullReviews(ctx *context.APIContext) { opts := issues_model.FindReviewOptions{ ListOptions: utils.GetListOptions(ctx), - Type: issues_model.ReviewTypeUnknown, IssueID: pr.IssueID, } |