This commit is contained in:
Baobhan Sith
2025-05-08 15:44:27 +08:00
parent 413bd8098d
commit f8432cdfef
3 changed files with 3 additions and 24 deletions
@@ -104,7 +104,7 @@ export class PasskeyRepository {
const sql = 'SELECT * FROM passkeys WHERE user_id = ? ORDER BY created_at DESC';
const results = await allDb<any>(db, sql, [userId]);
// Log the raw results from the database before mapping
console.log(`[PasskeyRepository] Raw passkeys for user ${userId}:`, JSON.stringify(results, null, 2));
// console.log(`[PasskeyRepository] Raw passkeys for user ${userId}:`, JSON.stringify(results, null, 2));
return mapPasskeyResults(results);
}