This commit is contained in:
2026-05-22 13:35:53 -05:00
parent 575a7a793a
commit a63045a685

View File

@@ -156,7 +156,7 @@ async function seedInitialAdmin() {
* bcryptjs is already used by the auth route in the MVP. * bcryptjs is already used by the auth route in the MVP.
* Dynamic import avoids requiring it before DB startup. * 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); const passwordHash = await bcrypt.hash(adminPassword, 12);
await pool.query( await pool.query(