This commit is contained in:
Timothy Jaeryang Baek
2026-02-24 17:04:07 -06:00
parent 62e7e0bc09
commit 9478c5e7ac
3 changed files with 47 additions and 1 deletions
+4 -1
View File
@@ -197,7 +197,10 @@ class AuthsTable:
with get_db_context(db) as db:
result = db.query(Auth).filter_by(id=id).update({"email": email})
db.commit()
return True if result == 1 else False
if result == 1:
Users.update_user_by_id(id, {"email": email}, db=db)
return True
return False
except Exception:
return False