refac: oauth session management

This commit is contained in:
Timothy Jaeryang Baek committed 2026-02-20 16:49:43 -06:00
1 parent f5e5632afc
commit ae05586fda
3 files changed
+24 -4

No files matched your search

@@ -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: