1
0
Fork 0
mirror of https://github.com/imjasonh/go-marvel synced 2026-07-18 06:47:49 +00:00

Fix bug with /series

This commit is contained in:
Jason Hall 2014-05-04 13:54:26 -04:00
parent a11f1147c6
commit 378f75bf83

View file

@ -191,7 +191,7 @@ func (s CharacterResource) Events(params EventsParams) (resp *EventsResponse, er
}
func (s CharacterResource) Series(params SeriesParams) (resp *SeriesResponse, err error) {
err = s.client.fetch(s.basePath+"/stories", params, &resp)
err = s.client.fetch(s.basePath+"/series", params, &resp)
return
}
@ -275,7 +275,7 @@ func (s ComicResource) Events(params EventsParams) (resp *EventsResponse, err er
}
func (s ComicResource) Series(params SeriesParams) (resp *SeriesResponse, err error) {
err = s.client.fetch(s.basePath+"/stories", params, &resp)
err = s.client.fetch(s.basePath+"/series", params, &resp)
return
}
@ -506,7 +506,7 @@ func (s EventResource) Creators(params CreatorsParams) (resp *CreatorsResponse,
}
func (s EventResource) Series(params SeriesParams) (resp *SeriesResponse, err error) {
err = s.client.fetch(s.basePath+"/stories", params, &resp)
err = s.client.fetch(s.basePath+"/series", params, &resp)
return
}
@ -707,7 +707,7 @@ func (s StoryResource) Events(params EventsParams) (resp *EventsResponse, err er
}
func (s StoryResource) Series(params SeriesParams) (resp *SeriesResponse, err error) {
err = s.client.fetch(s.basePath+"/stories", params, &resp)
err = s.client.fetch(s.basePath+"/series", params, &resp)
return
}