fix: add availability scope
This commit is contained in:
@@ -72,7 +72,7 @@ async function fetchServiceToken(scopes: string[]) {
|
|||||||
export async function getServiceToken() {
|
export async function getServiceToken() {
|
||||||
let scopes: string[] = []
|
let scopes: string[] = []
|
||||||
if (env.ENABLE_BOOKING_FLOW) {
|
if (env.ENABLE_BOOKING_FLOW) {
|
||||||
scopes = ["profile", "hotel", "booking", "package"]
|
scopes = ["profile", "hotel", "booking", "package", "availability"]
|
||||||
} else {
|
} else {
|
||||||
scopes = ["profile"]
|
scopes = ["profile"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user