From ea263bb18926487c95c586e468c952fbb9366b3b Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Mon, 9 Dec 2024 13:55:38 +0100 Subject: [PATCH] fix: add availability scope --- server/tokenManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tokenManager.ts b/server/tokenManager.ts index d16faea74..5e7fba4d2 100644 --- a/server/tokenManager.ts +++ b/server/tokenManager.ts @@ -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"] }