diff --git a/constants/languages.ts b/constants/languages.ts index 085666204..d3fbfae27 100644 --- a/constants/languages.ts +++ b/constants/languages.ts @@ -74,7 +74,8 @@ export function findLang(pathname: string) { } /** - * Helper function to convert API's (e.g. the Hotel endpoint) capitalized values to Lang enum. + * Helper function to convert langs in uppercase or capitalized format (e.g. the Hotel endpoint) + * to to Lang enum. */ export function fromUppercaseToLangEnum(lang: string): Lang | undefined { const lowerCaseLang = lang.toLowerCase()