We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89b82a3 commit ce70677Copy full SHA for ce70677
packages/contentstack-import/src/commands/cm/stacks/import.ts
@@ -162,8 +162,9 @@ export default class ImportCommand extends Command {
162
163
if (!flags.branch) {
164
try {
165
+ const apiKey = importConfig.apiKey;
166
const branches = await managementAPIClient
- .stack({ api_key: importConfig.apiKey })
167
+ .stack({ api_key: apiKey })
168
.branch()
169
.query()
170
.find()
0 commit comments