This commit is contained in:
Timothy Jaeryang Baek
2026-02-23 12:52:46 -06:00
parent 8f49725aa5
commit f4a1d99f00
2 changed files with 16 additions and 10 deletions
@@ -135,6 +135,7 @@ class OAuthSessionTable:
db.refresh(result)
if result:
db.expunge(result) # Detach so dict swap is never flushed
result.token = token # Return decrypted token
return OAuthSessionModel.model_validate(result)
else: