From 2999757cb958ad4e6323b1e8d4c1451e88b10309 Mon Sep 17 00:00:00 2001 From: Yasamato <agent77326@gmail.com> Date: Sat, 30 Dec 2023 13:29:11 +0100 Subject: [PATCH] Dev (#86) * Refactor to dbTyped.ts * Remove dead code --- lib/db/dbTyped.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/db/dbTyped.ts b/lib/db/dbTyped.ts index 2318e282..e587d696 100644 --- a/lib/db/dbTyped.ts +++ b/lib/db/dbTyped.ts @@ -112,7 +112,6 @@ export async function insertTyped( case Types.list: return await insert('lists', data) case Types.user: - if (instanceof data UserUpdate) return await insert('users', data) } }