Skip to content

Commit e7fccfd

Browse files
committed
chores: Improve comments
1 parent fbcd035 commit e7fccfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

supertokens_python/recipe/dashboard/api/userdetails/user_sessions_get.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ async def handle_sessions_get(
2323
if user_id is None:
2424
raise_bad_input_exception("Missing required parameter 'userId'")
2525

26-
# Not passing tenant_id because we want to get all the sessions
27-
# across all the tenants for this user.
26+
# Passing tenant id as None sets fetch_across_all_tenants to True
27+
# which is what we want here.
2828
session_handles = await get_all_session_handles_for_user(
2929
user_id, None, user_context
3030
)

0 commit comments

Comments
 (0)