Skip to content

Commit ce70677

Browse files
committed
fix: talisman issue
1 parent 89b82a3 commit ce70677

File tree

1 file changed

+2
-1
lines changed
  • packages/contentstack-import/src/commands/cm/stacks

1 file changed

+2
-1
lines changed

packages/contentstack-import/src/commands/cm/stacks/import.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,9 @@ export default class ImportCommand extends Command {
162162

163163
if (!flags.branch) {
164164
try {
165+
const apiKey = importConfig.apiKey;
165166
const branches = await managementAPIClient
166-
.stack({ api_key: importConfig.apiKey })
167+
.stack({ api_key: apiKey })
167168
.branch()
168169
.query()
169170
.find()

0 commit comments

Comments
 (0)