Skip to content

Commit

Permalink
Change milestone type in issue stats options
Browse files Browse the repository at this point in the history
milstone represents the title of the milestone and so should be a
string as stated in gitlab api documentation.

Signed-off-by: Stany MARCEL <stanypub@gmail.com>
  • Loading branch information
ynsta committed Sep 4, 2020
1 parent 8a4a3cb commit 92f46a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion issues_statistics.go
Expand Up @@ -52,7 +52,7 @@ func (n IssuesStatistics) String() string {
// https://docs.gitlab.com/ee/api/issues_statistics.html#get-issues-statistics
type GetIssuesStatisticsOptions struct {
Labels Labels `url:"labels,omitempty" json:"labels,omitempty"`
Milestone *Milestone `url:"milestone,omitempty" json:"milestone,omitempty"`
Milestone *string `url:"milestone,omitempty" json:"milestone,omitempty"`
Scope *string `url:"scope,omitempty" json:"scope,omitempty"`
AuthorID *int `url:"author_id,omitempty" json:"author_id,omitempty"`
AuthorUsername *string `url:"author_username,omitempty" json:"author_username,omitempty"`
Expand Down

0 comments on commit 92f46a6

Please sign in to comment.