Skip to content

Commit

Permalink
Merge pull request #1888 from rkosegi/main
Browse files Browse the repository at this point in the history
Add 'approved' to ListMergeRequestsOptions
  • Loading branch information
svanharmelen committed Feb 28, 2024
2 parents c46c5fa + 04133d5 commit dc6dc0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions merge_requests.go
Expand Up @@ -186,6 +186,7 @@ func (m MergeRequestDiffVersion) String() string {
// https://docs.gitlab.com/ee/api/merge_requests.html#list-merge-requests
type ListMergeRequestsOptions struct {
ListOptions
Approved *string `url:"approved,omitempty" json:"approved,omitempty"`
State *string `url:"state,omitempty" json:"state,omitempty"`
OrderBy *string `url:"order_by,omitempty" json:"order_by,omitempty"`
Sort *string `url:"sort,omitempty" json:"sort,omitempty"`
Expand Down

0 comments on commit dc6dc0e

Please sign in to comment.