refac: oauth session management

This commit is contained in:
Timothy Jaeryang Baek
2026-02-20 16:49:43 -06:00
parent f5e5632afc
commit ae05586fda
3 changed files with 24 additions and 4 deletions
@@ -188,6 +188,7 @@ class OAuthSessionTable:
session = (
db.query(OAuthSession)
.filter_by(provider=provider, user_id=user_id)
.order_by(OAuthSession.created_at.desc())
.first()
)
if session: