Skip to content

Commit 3a11480

Browse files
committed
fix: service key for getContentstackEndpoint method
1 parent e396afe commit 3a11480

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)