From 4c4e2d0d98a854c4d30897a999a6024b17a1b43c Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Sun, 26 Apr 2026 16:06:56 -0500 Subject: [PATCH] fix --- backend/src/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/db.ts b/backend/src/db.ts index 383c878..7d156d6 100644 --- a/backend/src/db.ts +++ b/backend/src/db.ts @@ -148,7 +148,7 @@ async function seedInitialAdmin() { [adminEmail.toLowerCase()], ); - if (existing.rowCount > 0) { + if ((existing.rowCount ?? 0) > 0) { return; }