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.
2 parents 667b222 + 95e518d commit 442c9e1Copy full SHA for 442c9e1
upload-api/src/controllers/sitecore/index.ts
@@ -40,7 +40,7 @@ const createLocaleSource = async ({
40
'Content-Type': 'application/json',
41
},
42
data: {
43
- locale: Array.isArray(localeData) ? localeData : (localeData ? [localeData] : []),
+ locale: Array.isArray(localeData) ? localeData : Array.from(localeData ?? [])
44
45
};
46
0 commit comments