Skip to content

Commit

Permalink
adding parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
RudiThoeni committed Nov 18, 2024
1 parent 185c1b6 commit 17af697
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions OdhApiCore/Controllers/api/AccommodationApiController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,9 @@ public async Task<IActionResult> PostAvailableAccommodations(
string? locfilter = null,
bool withoutids = false,
bool availabilityonly = false,
bool usemsscache = false,
bool uselcscache = false,
bool removeduplicateoffers = false,
CancellationToken cancellationToken = default)
{
bokfilter ??= "hgv";
Expand Down Expand Up @@ -607,10 +610,13 @@ public async Task<IActionResult> PostAvailableAccommodationsOnlyMssResult(
string? msssource = "sinfo",
string? detail = "0",
string? locfilter = null,
bool withoutids = false,
bool withoutids = false,
bool usemsscache = false,
bool uselcscache = false,
bool removeduplicateoffers = false,
CancellationToken cancellationToken = default)
{
return await PostAvailableAccommodations(idfilter, availabilitychecklanguage, boardfilter, arrival, departure, roominfo, bokfilter, msssource, detail, locfilter, withoutids, true, cancellationToken);
return await PostAvailableAccommodations(idfilter, availabilitychecklanguage, boardfilter, arrival, departure, roominfo, bokfilter, msssource, detail, locfilter, withoutids, true, usemsscache, uselcscache, removeduplicateoffers, cancellationToken);
}

#endregion
Expand Down

0 comments on commit 17af697

Please sign in to comment.