We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbcd035 commit e7fccfdCopy full SHA for e7fccfd
supertokens_python/recipe/dashboard/api/userdetails/user_sessions_get.py
@@ -23,8 +23,8 @@ async def handle_sessions_get(
23
if user_id is None:
24
raise_bad_input_exception("Missing required parameter 'userId'")
25
26
- # Not passing tenant_id because we want to get all the sessions
27
- # across all the tenants for this user.
+ # Passing tenant id as None sets fetch_across_all_tenants to True
+ # which is what we want here.
28
session_handles = await get_all_session_handles_for_user(
29
user_id, None, user_context
30
)
0 commit comments