From ffab29cdeee3915f187410173fa738c7dd8ecba8 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 19 Dec 2024 17:11:50 +0100 Subject: [PATCH] Remove unnecessary null check --- packages/builder/src/stores/builder/tables.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/stores/builder/tables.ts b/packages/builder/src/stores/builder/tables.ts index d050a48b5e..31b3a64b5b 100644 --- a/packages/builder/src/stores/builder/tables.ts +++ b/packages/builder/src/stores/builder/tables.ts @@ -144,7 +144,7 @@ export class TableStore extends DerivedBudiStore< if (!table?._id) { return } - await API.deleteTable(table._id, table._rev || "rev") + await API.deleteTable(table._id, table._rev) this.replaceTable(table._id, null) }