refactor: add hotel scope to service token fetch & enable hotel API
This commit is contained in:
@@ -7,8 +7,7 @@ export const langInput = z.object({
|
||||
})
|
||||
|
||||
/**
|
||||
* Helper function to convert Lang enum to uppercase
|
||||
* Needed for the Hotel endpoint.
|
||||
* Helper function to convert Lang enum to API lang enum.
|
||||
*/
|
||||
export const toApiLang = (lang: Lang): string => {
|
||||
const result = toApiLangMap[lang]
|
||||
|
||||
Reference in New Issue
Block a user