From 4497ec4478942888663b1375c32a60f81b80aebb Mon Sep 17 00:00:00 2001 From: Alexander Hellbom Date: Sun, 9 Jul 2017 23:42:33 +0200 Subject: [PATCH] Fix response --- pagerduty/user.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pagerduty/user.go b/pagerduty/user.go index 2b909df0..464d3c50 100644 --- a/pagerduty/user.go +++ b/pagerduty/user.go @@ -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.