From a63045a68537ff18aaaf993f64c184d5cbb3613f Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Fri, 22 May 2026 13:35:53 -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 7d156d6..b1ff880 100644 --- a/backend/src/db.ts +++ b/backend/src/db.ts @@ -156,7 +156,7 @@ async function seedInitialAdmin() { * bcryptjs is already used by the auth route in the MVP. * Dynamic import avoids requiring it before DB startup. */ - const bcrypt = await import('bcryptjs'); + const { default: bcrypt } = await import('bcryptjs'); const passwordHash = await bcrypt.hash(adminPassword, 12); await pool.query(