case 4221
This commit is contained in:
@@ -436,7 +436,7 @@ export default {
|
||||
|
||||
//call erase
|
||||
let r = await window.$gz.api.upsert(
|
||||
"license/permanently-erase-all-data",
|
||||
"license/permanently-erase-all-data-keep-tax-codes",
|
||||
"I understand"
|
||||
);
|
||||
//send request
|
||||
@@ -535,7 +535,7 @@ export default {
|
||||
}
|
||||
//call erase
|
||||
await window.$gz.api.upsert(
|
||||
"license/permanently-erase-all-data",
|
||||
"license/permanently-erase-all-data-keep-tax-codes",
|
||||
"I understand"
|
||||
);
|
||||
|
||||
|
||||
@@ -221,12 +221,8 @@ export default {
|
||||
if (dialogResult == false) {
|
||||
return;
|
||||
}
|
||||
//call seed route
|
||||
// let jobId = await window.$gz.api.upsert(
|
||||
// `trial/seed/${vm.obj.seedLevel}/${vm.obj.timeZoneOffset}/false`
|
||||
// );
|
||||
|
||||
//call erase
|
||||
//call erase before seeding
|
||||
let r = await window.$gz.api.upsert(
|
||||
"license/permanently-erase-all-data",
|
||||
"I understand"
|
||||
@@ -235,6 +231,7 @@ export default {
|
||||
throw new Error(window.$gz.errorHandler.errorToString(r, vm));
|
||||
}
|
||||
|
||||
//start the seeding
|
||||
let jobId = await window.$gz.api.upsert("trial/seed", vm.obj);
|
||||
|
||||
if (jobId.error) {
|
||||
|
||||
Reference in New Issue
Block a user