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 ab77fb7 commit 23bf9dfCopy full SHA for 23bf9df
backend/src/users/api.py
@@ -1,6 +1,6 @@
1
from typing import Any
2
3
-from fastapi import APIRouter, HTTPException, Request
+from fastapi import APIRouter, HTTPException
4
5
from src.auth.services import CurrentUser, SessionDep
6
from src.core.config import settings
@@ -12,7 +12,7 @@
12
13
14
@router.get("/me", response_model=UserPublic)
15
-def read_user_me(request: Request, current_user: CurrentUser) -> Any:
+def read_user_me(current_user: CurrentUser) -> Any:
16
"""
17
Get current user.
18
0 commit comments