Commit 3c183b7d authored by Mike Pearson's avatar Mike Pearson Committed by Sander van Harmelen

Adds OrderBy/Sort to ListIssuesNotesOptions (#469)

parent 68c2fd3b
......@@ -66,7 +66,11 @@ func (n Note) String() string {
//
// GitLab API docs:
// https://docs.gitlab.com/ce/api/notes.html#list-project-issue-notes
type ListIssueNotesOptions ListOptions
type ListIssueNotesOptions struct {
ListOptions
OrderBy *string `url:"order_by,omitempty" json:"order_by,omitempty"`
Sort *string `url:"sort,omitempty" json:"sort,omitempty"`
}
// ListIssueNotes gets a list of all notes for a single issue.
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment