Fix gitlab MR fetching (#5287)

This commit is contained in:
qwerty287
2025-06-29 14:37:59 +03:00
committed by GitHub
parent 4ff8928005
commit f8ec6320c3

View File

@@ -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,