Skip to content

Commit

Permalink
Merge pull request PagerDuty#14 from heimweh/b-fix-list-contact-methods
Browse files Browse the repository at this point in the history
Fix contact method list response
  • Loading branch information
heimweh authored Jul 9, 2017
2 parents 2ce083b + 4497ec4 commit f89996a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pagerduty/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ type PushContactMethodSound struct {

// ListContactMethodsResponse represents
type ListContactMethodsResponse struct {
Limit int `json:"limit,omitempty"`
More bool `json:"more,omitempty"`
Offset int `json:"offset,omitempty"`
Total int `json:"total,omitempty"`
Users []*User `json:"users,omitempty"`
Limit int `json:"limit,omitempty"`
More bool `json:"more,omitempty"`
Offset int `json:"offset,omitempty"`
Total int `json:"total,omitempty"`
ContactMethods []*ContactMethod `json:"contact_methods,omitempty"`
}

// ListUsersOptions represents options when listing users.
Expand Down

0 comments on commit f89996a

Please sign in to comment.