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(