Skip to content

Commit

Permalink
Fix typo in /error-demo docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed May 8, 2024
1 parent 1d700d7 commit 19a1371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastapibootcamp/handlers/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class ErrorRequestModel(BaseModel):
"/error-demo", summary="Raise an internal service exception."
)
async def post_error_demo(data: ErrorRequestModel) -> JSONResponse:
"""Use the custom_error field to compare the different between raising
"""Use the custom_error field to compare the difference between raising
a custom SlackException and a generic exception.
"""
if data.custom_error:
Expand Down

0 comments on commit 19a1371

Please sign in to comment.