We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b0ad2c commit 0f2d0f0Copy full SHA for 0f2d0f0
packages/contentstack-export/src/export/modules/stack.ts
@@ -27,13 +27,13 @@ export default class ExportStack extends BaseClass {
27
28
async start(): Promise<void> {
29
if (isAuthenticated()) {
30
- await this.exportStackSettings();
31
const stackData = await this.getStack();
32
if (stackData?.org_uid) {
33
this.exportConfig.org_uid = stackData.org_uid;
34
this.exportConfig.sourceStackName = stackData.name;
35
}
36
+ await this.exportStackSettings();
37
if (!this.exportConfig.preserveStackVersion && !this.exportConfig.hasOwnProperty('master_locale')) {
38
//fetch master locale details
39
return this.getLocales();
0 commit comments