added backup apis and tests

This commit is contained in:
Gani Georgiev
2023-05-13 22:10:14 +03:00
parent 3b0f60fe15
commit e8b4a7eb26
104 changed files with 3192 additions and 1017 deletions

View File

@@ -206,7 +206,7 @@
dispatch("save", result);
})
.catch((err) => {
ApiClient.errorResponseHandler(err);
ApiClient.error(err);
})
.finally(() => {
isSaving = false;
@@ -227,7 +227,7 @@
dispatch("delete", original);
})
.catch((err) => {
ApiClient.errorResponseHandler(err);
ApiClient.error(err);
});
});
}
@@ -299,7 +299,7 @@
addSuccessToast(`Successfully sent verification email to ${original.email}.`);
})
.catch((err) => {
ApiClient.errorResponseHandler(err);
ApiClient.error(err);
});
});
}
@@ -316,7 +316,7 @@
addSuccessToast(`Successfully sent password reset email to ${original.email}.`);
})
.catch((err) => {
ApiClient.errorResponseHandler(err);
ApiClient.error(err);
});
});
}