Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
prayankmathur committed Mar 24, 2016
1 parent 9c0aeca commit 1255be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public IObservable<PagesBuild> GetAll(string owner, string repositoryName)
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
Ensure.ArgumentNotNullOrEmptyString(repositoryName, "repositoryName");

return _connection.GetAndFlattenAllPages<PagesBuild>(ApiUrls.RepositoryPageBuilds(owner, repositoryName));
return GetAll(owner, repositoryName, ApiOptions.None);
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Octokit/Clients/RepositoryPagesClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Task<IReadOnlyList<PagesBuild>> GetAll(string owner, string repositoryNam
Ensure.ArgumentNotNull(options, "options");

var endpoint = ApiUrls.RepositoryPageBuilds(owner, repositoryName);
return ApiConnection.GetAll<PagesBuild>(endpoint, null, AcceptHeaders.StableVersion, options);
return ApiConnection.GetAll<PagesBuild>(endpoint, options);
}
/// <summary>
/// Gets the build metadata for the last build for a given repository
Expand Down

0 comments on commit 1255be4

Please sign in to comment.