Skip to content

Commit

Permalink
adding page value to event
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Reeves authored and sethvargo committed May 19, 2018
1 parent f771fa0 commit c7f7044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastly/event_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func getEventsPages(body io.Reader) (EventsPaginationInfo, io.Reader, error) {
return EventsPaginationInfo{}, nil, err
}

var pages GetAPIEventsResponse
var pages *GetAPIEventsResponse
json.Unmarshal(bodyBytes, &pages)
return pages.Links, bytes.NewReader(buf.Bytes()), nil
}
Expand Down

0 comments on commit c7f7044

Please sign in to comment.