Merged in fix/bookingCode-optional (pull request #1214)
fix: bookingCode optional * fix: bookingCode optional Approved-by: Pontus Dreij
This commit is contained in:
@@ -216,7 +216,7 @@ export const hotelQueryRouter = router({
|
|||||||
roomStayEndDate,
|
roomStayEndDate,
|
||||||
adults,
|
adults,
|
||||||
...(children && { children }),
|
...(children && { children }),
|
||||||
bookingCode,
|
...(bookingCode && { bookingCode }),
|
||||||
language: apiLang,
|
language: apiLang,
|
||||||
}
|
}
|
||||||
hotelsAvailabilityCounter.add(1, {
|
hotelsAvailabilityCounter.add(1, {
|
||||||
@@ -452,7 +452,7 @@ export const hotelQueryRouter = router({
|
|||||||
roomStayEndDate,
|
roomStayEndDate,
|
||||||
adults,
|
adults,
|
||||||
...(children && { children }),
|
...(children && { children }),
|
||||||
bookingCode,
|
...(bookingCode && { bookingCode }),
|
||||||
language: toApiLang(ctx.lang),
|
language: toApiLang(ctx.lang),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user