Skip to content

Commit 1f08084

Browse files
Merge pull request #470 from contentstack/feat/DX-3397
fix: service key for getContentstackEndpoint method
2 parents 99c4a06 + 3a11480 commit 1f08084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/contentstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ import { getContentstackEndpoint } from '@contentstack/utils'
172172
*/
173173
export function client (params = {}) {
174174
let defaultHostName = params.region
175-
? getContentstackEndpoint(params.region.toUpperCase(), 'management', true)
175+
? getContentstackEndpoint(params.region.toUpperCase(), 'contentManagement', true)
176176
: getContentstackEndpoint('NA', 'contentManagement', true)
177177

178178
if (params.host) {

0 commit comments

Comments
 (0)