feat: SW-2028 Points validation redemption city search

This commit is contained in:
Hrishikesh Vaipurkar
2025-03-24 16:35:09 +01:00
parent 779495017e
commit eda475d64e
12 changed files with 71 additions and 16 deletions

View File

@@ -246,6 +246,14 @@ export async function getHotels(
return hotels
}
export async function getUserPoints() {
const membershipCard = await serverClient().user.safeMembershipLevel()
if (!membershipCard) {
return undefined
}
return membershipCard.currentPoints
}
const hotelSurroundingsFilterNames = [
"Hotel surroundings",
"Hotel omgivelser",