BUGFIX: Show all merge requests

We do not want to show only merge requests created by the current user,
   we want to show all merge requests for the current branch created by
   anyone.
This commit is contained in:
Harrison Cramer
2023-08-03 09:43:52 -04:00
parent f8509ef0ca
commit b9538b1ce6

View File

@@ -52,6 +52,7 @@ func (c *Client) Init(branchName string) error {
} }
options := gitlab.ListMergeRequestsOptions{ options := gitlab.ListMergeRequestsOptions{
Scope: gitlab.String("all"),
State: gitlab.String("opened"), State: gitlab.String("opened"),
SourceBranch: &branchName, SourceBranch: &branchName,
} }