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))