This commit is contained in:
2020-06-23 18:20:51 +00:00
parent 1e4911e6fe
commit 5da823f887
3 changed files with 16 additions and 4 deletions

View File

@@ -360,7 +360,9 @@ export default {
//send request
r = await window.$gz.api.upsert("license/trialRequest", vm.request);
if (r.error) {
throw r;
}
//a string is returned and will start with E1 if it's an error
if (r.startsWith("E1")) {
throw r;