feat(database): removed debug logs
This commit is contained in:
parent
a7c753f38b
commit
85cfea3cbf
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue