Skip to content

Commit 122141b

Browse files
authored
Merge pull request #17 from Contentstack-Solutions/fix/CS-33331-1
Fix/cs 33331 1
2 parents 590f7e3 + 10c84ce commit 122141b

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "contentstack-cli-tsgen",
33
"description": "Generate TypeScript typings from a Stack.",
4-
"version": "1.0.12",
4+
"version": "1.0.13",
55
"author": "Michael Davis",
66
"bugs": "https://github.com/Contentstack-Solutions/contentstack-cli-tsgen/issues",
77
"dependencies": {

src/commands/tsgen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command {
6565
const config: StackConnectionConfig = {
6666
apiKey: token.apiKey,
6767
token: token.token,
68-
region: (this.region.name === 'eu') ? 'eu' : undefined,
68+
region: (this.region.name === 'NA') ? 'us' : this.region.name.toLowerCase(),
6969
environment: token.environment || '',
7070
}
7171

0 commit comments

Comments
 (0)