We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d64665 commit a1e9fa1Copy full SHA for a1e9fa1
api/src/services/sitecore.service.ts
@@ -61,7 +61,7 @@ const mapLocales = ({ masterLocale, locale, locales }: any) => {
61
return key;
62
}
63
64
- return locale.toLowerCase();
+ return locale?.toLowerCase?.();
65
66
67
0 commit comments