diff --git a/documentation/content/main/basics/fallback-database-queries.md b/documentation/content/main/basics/fallback-database-queries.md index 4959cc9fb..2033394de 100644 --- a/documentation/content/main/basics/fallback-database-queries.md +++ b/documentation/content/main/basics/fallback-database-queries.md @@ -47,7 +47,7 @@ await db.transaction((trx) => { await trx.key.insert({ id: createKeyId("username", username), user_id: userId, - hashed_password: generateLuciaPasswordHash(password) + hashed_password: await generateLuciaPasswordHash(password) }); }); ```