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,
|
||||
adults,
|
||||
...(children && { children }),
|
||||
bookingCode,
|
||||
...(bookingCode && { bookingCode }),
|
||||
language: apiLang,
|
||||
}
|
||||
hotelsAvailabilityCounter.add(1, {
|
||||
@@ -452,7 +452,7 @@ export const hotelQueryRouter = router({
|
||||
roomStayEndDate,
|
||||
adults,
|
||||
...(children && { children }),
|
||||
bookingCode,
|
||||
...(bookingCode && { bookingCode }),
|
||||
language: toApiLang(ctx.lang),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user