Up fixtures to 100 to prevent excess paging
SuccessfulCode/BritishHorseRacingApi/master This commit looks good
SuccessfulCode/BritishHorseRacingApi/master This commit looks good
This commit is contained in:
@@ -216,7 +216,7 @@ namespace BritishHorseRacingApi
|
|||||||
return fixtures;
|
return fixtures;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<PagedResult<Fixture>> GetFixtures(int? year = null, int? month = null, int page = 1, int perPage = 10, string order = "desc", bool? resultsAvailable = true)
|
public async Task<PagedResult<Fixture>> GetFixtures(int? year = null, int? month = null, int page = 1, int perPage = 100, string order = "desc", bool? resultsAvailable = true)
|
||||||
{
|
{
|
||||||
var uriBuilder = new UriBuilder(Endpoints.Fixtures);
|
var uriBuilder = new UriBuilder(Endpoints.Fixtures);
|
||||||
var query = HttpUtility.ParseQueryString(uriBuilder.Query);
|
var query = HttpUtility.ParseQueryString(uriBuilder.Query);
|
||||||
|
|||||||
Reference in New Issue
Block a user