mirror of https://github.com/tiangolo/fastapi.git
✏️ Fix typo in release notes
This commit is contained in:
parent
84d400b916
commit
040ad986d4
|
|
@ -63,7 +63,7 @@ def get_username():
|
||||||
try:
|
try:
|
||||||
yield "Rick"
|
yield "Rick"
|
||||||
except OwnerError as e:
|
except OwnerError as e:
|
||||||
raise HTTPException(status_code=400, detail=f"Onwer error: {e}")
|
raise HTTPException(status_code=400, detail=f"Owner error: {e}")
|
||||||
|
|
||||||
|
|
||||||
@app.get("/items/{item_id}")
|
@app.get("/items/{item_id}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue