case 4221

This commit is contained in:
2022-10-26 21:49:22 +00:00
parent 50dfe5c37f
commit b443068c0b
2 changed files with 4 additions and 7 deletions

View File

@@ -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"
);

View File

@@ -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) {