fix: return attributes from hotel router
This commit is contained in:
@@ -15,9 +15,7 @@ export default async function HotelPage({ lang }: LangParams) {
|
||||
return null
|
||||
}
|
||||
|
||||
const {
|
||||
data: { attributes },
|
||||
} = await serverClient().hotel.getHotel({
|
||||
const attributes = await serverClient().hotel.getHotel({
|
||||
hotelId: hotelPageIdentifierData.hotel_page_id,
|
||||
language: lang,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user