From f971ba0c0b8b6b4a476e657c25f30b3775594461 Mon Sep 17 00:00:00 2001 From: Peter De-Ath Date: Sun, 7 Jul 2024 22:07:12 +0100 Subject: [PATCH] fix email update in AuthsTable model --- backend/apps/webui/models/auths.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/apps/webui/models/auths.py b/backend/apps/webui/models/auths.py index 9f6bd59e8..353dc854d 100644 --- a/backend/apps/webui/models/auths.py +++ b/backend/apps/webui/models/auths.py @@ -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