mirror of
https://github.com/fastapi/fastapi.git
synced 2026-09-12 21:38:39 -04:00
✏️ Fix typo in fastapi/routing.py (#10520)
Fix: https://github.com/tiangolo/fastapi/discussions/10493
This commit is contained in:
1 parent
cee422f073
commit
60e1259ca4
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user