diff --git a/server/StrDss.Api/Controllers/RentalListingsController.cs b/server/StrDss.Api/Controllers/RentalListingsController.cs index 93f59df9..b695cd51 100644 --- a/server/StrDss.Api/Controllers/RentalListingsController.cs +++ b/server/StrDss.Api/Controllers/RentalListingsController.cs @@ -30,7 +30,7 @@ public RentalListingsController(ICurrentUser currentUser, IMapper mapper, IConfi [HttpGet] public async Task GetRentalListings(string? all, string? address, string? url, string? listingId, string? hostName, string? businessLicence, bool? prRequirement, bool? blRequirement, long? lgId, string? statuses, bool? reassigned, bool? takedownComplete, - int pageSize, int pageNumber, string orderBy = "ListingStatusSortNo", string direction = "asc") + int pageSize = 10, int pageNumber = 1, string orderBy = "ListingStatusSortNo", string direction = "asc") { var statusArray = statuses == null ? Array.Empty() : statuses!.Split(','); @@ -45,7 +45,7 @@ public async Task GetRentalListings(string? all, string? address, [HttpGet("grouped")] public async Task GetGroupedRentalListings(string? all, string? address, string? url, string? listingId, string? hostName, string? businessLicence, bool? prRequirement, bool? blRequirement, long? lgId, string? statuses, bool? reassigned, bool? takedownComplete, - int pageSize, int pageNumber, string orderBy = "matchAddressTxt", string direction = "asc") + int pageSize = 10, int pageNumber = 1, string orderBy = "matchAddressTxt", string direction = "asc") { var statusArray = statuses == null ? Array.Empty() : statuses!.Split(',');