Commit f971ba0c authored by Peter De-Ath's avatar Peter De-Ath
Browse files

fix email update in AuthsTable model

parent d51e8665
......@@ -182,6 +182,7 @@ class AuthsTable:
with get_db() as db:
result = db.query(Auth).filter_by(id=id).update({"email": email})
db.commit()
return True if result == 1 else False
except:
return False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment