mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Fix gitlab MR fetching (#5287)
This commit is contained in:
@@ -345,7 +345,7 @@ func (g *GitLab) PullRequests(ctx context.Context, u *model.User, r *model.Repo,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
state := "open"
|
||||
state := "opened"
|
||||
pullRequests, _, err := client.MergeRequests.ListProjectMergeRequests(_repo.ID, &gitlab.ListProjectMergeRequestsOptions{
|
||||
ListOptions: gitlab.ListOptions{Page: p.Page, PerPage: p.PerPage},
|
||||
State: &state,
|
||||
|
||||
Reference in New Issue
Block a user