diff --git a/docs/guide/fastapi_transition.md b/docs/guide/fastapi_transition.md index efccf317e..d4688154c 100644 --- a/docs/guide/fastapi_transition.md +++ b/docs/guide/fastapi_transition.md @@ -35,6 +35,8 @@ return ( {"message": f"Failed to connect to {domain}."}, HTTPStatus.BAD_REQUEST, ) +# or the Quart way via abort function +abort(HTTPStatus.INTERNAL_SERVER_ERROR, "Could not process withdraw LNURL.") ``` **new:**