Merged in feat/SW-1333-hotel-endpoint (pull request #1206)
Feat(SW-133): Add additionalData endpoint Approved-by: Erik Tiekstra Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -171,6 +171,15 @@ export const getMeetingRooms = cache(
|
||||
}
|
||||
)
|
||||
|
||||
export const getAdditionalData = cache(
|
||||
async function getMemoizedAdditionalData(input: {
|
||||
hotelId: string
|
||||
language: Lang
|
||||
}) {
|
||||
return serverClient().hotel.additionalData(input)
|
||||
}
|
||||
)
|
||||
|
||||
export const getDestinationOverviewPage = cache(
|
||||
async function getMemoizedDestinationOverviewPage() {
|
||||
return serverClient().contentstack.destinationOverviewPage.get()
|
||||
|
||||
Reference in New Issue
Block a user