fix: pass pagination options to ListRepoPullRequests (#851)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/851
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Alain Thiffault <athiffau@effectivemomentum.com>
Co-committed-by: Alain Thiffault <athiffau@effectivemomentum.com>
This commit is contained in:
Alain Thiffault
2025-12-05 06:14:01 +00:00
committed by Lunny Xiao
parent 7e2e7ee809
commit f59430a42a

View File

@@ -44,7 +44,8 @@ func RunPullsList(_ stdctx.Context, cmd *cli.Command) error {
}
prs, _, err := ctx.Login.Client().ListRepoPullRequests(ctx.Owner, ctx.Repo, gitea.ListPullRequestsOptions{
State: state,
ListOptions: flags.GetListOptions(),
State: state,
})
if err != nil {