Remove the redundant ApiInfo property

This commit is contained in:
Haacked
2015-01-02 00:25:18 -08:00
parent 4653e798a7
commit 6c05651d64
5 changed files with 55 additions and 8 deletions
@@ -27,7 +27,7 @@ namespace Octokit.Reactive.Internal
{
return getPageFunc(uri, parameters).Expand(resp =>
{
var nextPageUrl = resp.ApiInfo.GetNextPageUrl();
var nextPageUrl = resp.HttpResponse.ApiInfo.GetNextPageUrl();
return nextPageUrl == null
? Observable.Empty<IApiResponse<List<T>>>()
: Observable.Defer(() => getPageFunc(nextPageUrl, null));