Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Add 'approved' to ListMergeRequestsOptions #1888

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions merge_requests.go
Original file line number Diff line number Diff line change
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
Loading