From 9def05c41f6fd0c7630f2b2fc6b3a93eba38ae16 Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Fri, 5 Dec 2025 17:46:27 +0530 Subject: [PATCH] fix: change lowercase to uppercase --- lib/contentstack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contentstack.js b/lib/contentstack.js index 4349e23f..09e393bc 100644 --- a/lib/contentstack.js +++ b/lib/contentstack.js @@ -182,7 +182,7 @@ export function client (params = {}) { let defaultHostName if (params.region) { - const region = params.region.toLowerCase() + const region = params.region.toUpperCase() if (!regionHostMap[region]) { throw new Error(`Invalid region '${params.region}' provided. Allowed regions are: ${Object.keys(regionHostMap).join(', ')}`) }