✏️ Fix typo in `fastapi/routing.py` (#10520)

Fix: https://github.com/tiangolo/fastapi/discussions/10493
This commit is contained in:
Sepehr Shirkhanlu 2024-01-09 19:40:37 +03:30 committed by GitHub
parent cee422f073
commit 60e1259ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4328,7 +4328,7 @@ class APIRouter(routing.Router):
app = FastAPI()
router = APIRouter()
@router.put("/items/{item_id}")
@router.trace("/items/{item_id}")
def trace_item(item_id: str):
return None