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:
@@ -31,7 +31,7 @@ export default async function HotelSubpage({
|
||||
const [intl, hotelPageData, hotelData] = await Promise.all([
|
||||
getIntl(),
|
||||
getHotelPage(),
|
||||
getHotel({ hotelId, language: lang }),
|
||||
getHotel({ hotelId, language: lang, isCardOnlyPayment: false }),
|
||||
])
|
||||
|
||||
if (!hotelData?.hotel || !hotelPageData) {
|
||||
|
||||
Reference in New Issue
Block a user