From 4e0f65ed035717aae4be8e6b5e3bab3145c94491 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Sat, 27 Jun 2026 14:45:50 +0800 Subject: [PATCH] fix: correct ENABLE_REDIS_SESSIONS typo to ENABLE_REDIS_SESSION --- apps/api/app/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/app/dependencies.py b/apps/api/app/dependencies.py index 4e8152928..c85f51824 100644 --- a/apps/api/app/dependencies.py +++ b/apps/api/app/dependencies.py @@ -152,7 +152,7 @@ def get_workspace_invitation_repository( def get_auth_session_store() -> SessionStore | NoopSessionStore: """Provide the session store based on configuration.""" - if not settings.ENABLE_REDIS_SESSIONS: + if not settings.ENABLE_REDIS_SESSION: return NoopSessionStore() return SessionStore(redis_client=redis.from_url(settings.REDIS_URL, decode_responses=True)) -- 2.54.0