Merged in fix/unify-gethotel-input (pull request #1319)
feat: getHotel - unify input to make sure we can use the same cache response * feat: getHotel - unify input to make sure we can use the same cache response Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -493,7 +493,10 @@ export async function getHotelListData(
|
||||
const hotels = await Promise.all(
|
||||
hotelIds.map(async (hotelId) => {
|
||||
const [hotelData, url] = await Promise.all([
|
||||
getHotel({ hotelId, language: lang }, serviceToken),
|
||||
getHotel(
|
||||
{ hotelId, language: lang, isCardOnlyPayment: false },
|
||||
serviceToken
|
||||
),
|
||||
getHotelPageUrl(lang, hotelId),
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user