feat(database): removed debug logs

This commit is contained in:
Maieul BOYER 2025-08-31 16:33:53 +02:00 committed by Maix0
parent a7c753f38b
commit 85cfea3cbf

View file

@ -106,7 +106,6 @@ export const UserImpl: Omit<IUserDb, keyof Database> = {
let otpGen = new Otp();
const res: any = this.prepare("UPDATE OR IGNORE user SET otp = @otp WHERE id = @id RETURNING otp")
.get({ id, otp: otpGen.secret });
console.log(res);
if (isNullish(res?.otp)) return undefined;
return res?.otp;
},