Skip to content

Commit c87ebe6

Browse files
author
GaurishN
committed
fixed folder structure during migration
1 parent 3d276f0 commit c87ebe6

File tree

6 files changed

+214
-110
lines changed

6 files changed

+214
-110
lines changed

api/src/services/migration.service.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,9 @@ const startTestMigration = async (req: Request): Promise<any> => {
243243
await wordpressService?.getAllTerms(affix, packagePath,project?.current_test_stack_id, projectId)
244244
await wordpressService?.getAllTags(affix, packagePath,project?.current_test_stack_id, projectId)
245245
await wordpressService?.getAllCategories(affix, packagePath,project?.current_test_stack_id, projectId)
246-
await wordpressService?.extractPosts(affix, packagePath,project?.current_test_stack_id, projectId)
246+
await wordpressService?.extractPosts( packagePath,project?.current_test_stack_id, projectId)
247247
await wordpressService?.extractGlobalFields(project?.current_test_stack_id, projectId)
248+
await siteCoreService?.createVersionFile(project?.current_test_stack_id);
248249
}
249250
break;
250251
}
@@ -306,8 +307,10 @@ const startMigration = async (req: Request): Promise<any> => {
306307
await wordpressService?.getAllTerms(affix, packagePath,project?.current_test_stack_id, projectId)
307308
await wordpressService?.getAllTags(affix, packagePath,project?.current_test_stack_id, projectId)
308309
await wordpressService?.getAllCategories(affix, packagePath,project?.current_test_stack_id, projectId)
309-
await wordpressService?.extractPosts(affix, packagePath,project?.current_test_stack_id, projectId)
310+
await wordpressService?.extractPosts( packagePath,project?.current_test_stack_id, projectId)
310311
await wordpressService?.extractGlobalFields(project?.current_test_stack_id, projectId)
312+
await siteCoreService?.createVersionFile(project?.current_test_stack_id);
313+
311314
}
312315
break;
313316
}

0 commit comments

Comments
 (0)