Move get_session_context to DB.session_ctx().

This commit is contained in:
2026-01-28 14:52:18 +00:00
parent 29ea6426fe
commit c8d659b5ca
8 changed files with 76 additions and 101 deletions
+1 -1
View File
@@ -40,4 +40,4 @@ async def session_context(auth: str | None, host: str | None = None):
if not auth:
return None
normalized_host = normalize_host(host) if host else None
return db.get_session_context(auth, normalized_host)
return db.data().session_ctx(auth, normalized_host)