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 66c860b commit 392019cCopy full SHA for 392019c
lib/contentstack.js
@@ -164,7 +164,8 @@ export function client (params = {}) {
164
let defaultHostName = getRegionEndpoint('na')
165
166
if (params.region) {
167
- defaultHostName = getRegionEndpoint(params.region.toLowerCase())
+ params.region = params.region.toLowerCase()
168
+ defaultHostName = getRegionEndpoint(params.region)
169
}
170
171
const defaultParameter = {
0 commit comments