fix: add availability scope

This commit is contained in:
Christel Westerberg
2024-12-09 13:55:38 +01:00
parent 1a4122718e
commit ea263bb189

View File

@@ -72,7 +72,7 @@ async function fetchServiceToken(scopes: string[]) {
export async function getServiceToken() {
let scopes: string[] = []
if (env.ENABLE_BOOKING_FLOW) {
scopes = ["profile", "hotel", "booking", "package"]
scopes = ["profile", "hotel", "booking", "package", "availability"]
} else {
scopes = ["profile"]
}