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 7941f83 + 9def05c commit e3eaa9eCopy full SHA for e3eaa9e
lib/contentstack.js
@@ -182,7 +182,7 @@ export function client (params = {}) {
182
let defaultHostName
183
184
if (params.region) {
185
- const region = params.region.toLowerCase()
+ const region = params.region.toUpperCase()
186
if (!regionHostMap[region]) {
187
throw new Error(`Invalid region '${params.region}' provided. Allowed regions are: ${Object.keys(regionHostMap).join(', ')}`)
188
}
0 commit comments