refactor: better errors (#590)

* refactor: improve error messages from server
This commit is contained in:
Carlos Valente
2023-11-14 21:54:56 +01:00
committed by GitHub
parent a41fe8806b
commit 1ca3b9c134
9 changed files with 26 additions and 29 deletions
@@ -46,7 +46,6 @@ export class DataProvider {
static async clearRundown() {
data.rundown = [];
// @ts-expect-error -- not sure how to type, this is library side
await db.write();
}
@@ -100,7 +99,6 @@ export class DataProvider {
}
static async persist() {
// @ts-expect-error -- not sure how to type, this is library side
await db.write();
}