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) } }