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 0fb6b15 commit 9def05cCopy full SHA for 9def05c
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