aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1
diff options
context:
space:
mode:
authorZettat123 <zettat123@gmail.com>2024-10-01 09:58:55 +0800
committerGitHub <noreply@github.com>2024-10-01 01:58:55 +0000
commitf4b8f6fc40ce2869135372a5c6ec6418d27ebfba (patch)
treeb27dca5e2fe9b455dfa20e2080a8c77b3f90c000 /routers/api/v1
parent13283873e9d523d5a5557f55d64f702c1a9f76ec (diff)
downloadgitea-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.go1
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,
}