Skip to content

Commit

Permalink
Merge pull request #77 from domudall/feature/schedules-structs
Browse files Browse the repository at this point in the history
Explicit JSON reference to schedules
  • Loading branch information
mimato authored Jul 21, 2017
2 parents 452e5ee + 8363c95 commit 9e61942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type ListSchedulesOptions struct {
// ListSchedulesResponse is the data structure returned from calling the ListSchedules API endpoint.
type ListSchedulesResponse struct {
APIListObject
Schedules []Schedule
Schedules []Schedule `json:"schedules"`
}

// UserReference is a reference to an authorized PagerDuty user.
Expand Down

0 comments on commit 9e61942

Please sign in to comment.