Skip to content

Commit

Permalink
chores: Fix linter and format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
KShivendu committed Jul 11, 2023
1 parent c908268 commit a78276b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sessions/test_jwks.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def callback():
from fastapi.testclient import TestClient
from supertokens_python.framework.fastapi import get_middleware
from supertokens_python.recipe.session.framework.fastapi import verify_session
from supertokens_python.recipe.session.asyncio import create_new_session, get_session
from supertokens_python.recipe.session.asyncio import create_new_session
from supertokens_python.recipe.session import SessionContainer


Expand All @@ -647,7 +647,7 @@ async def login(request: Request): # type: ignore
return {"jwt": s.get_access_token()}

@app.get("/sessioninfo")
async def session_info(s: SessionContainer = Depends(verify_session())):
async def info(s: SessionContainer = Depends(verify_session())): # type: ignore
user_id = s.get_user_id()
return {"user_id": user_id}

Expand Down

0 comments on commit a78276b

Please sign in to comment.