File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -631,7 +631,7 @@ def callback():
631
631
from fastapi .testclient import TestClient
632
632
from supertokens_python .framework .fastapi import get_middleware
633
633
from supertokens_python .recipe .session .framework .fastapi import verify_session
634
- from supertokens_python .recipe .session .asyncio import create_new_session , get_session
634
+ from supertokens_python .recipe .session .asyncio import create_new_session
635
635
from supertokens_python .recipe .session import SessionContainer
636
636
637
637
@@ -647,7 +647,7 @@ async def login(request: Request): # type: ignore
647
647
return {"jwt" : s .get_access_token ()}
648
648
649
649
@app .get ("/sessioninfo" )
650
- async def session_info (s : SessionContainer = Depends (verify_session ())):
650
+ async def info (s : SessionContainer = Depends (verify_session ())): # type: ignore
651
651
user_id = s .get_user_id ()
652
652
return {"user_id" : user_id }
653
653
You can’t perform that action at this time.
0 commit comments