From 0b28da1fabde0b118f229a8cbb7d8a3bb604bcdf Mon Sep 17 00:00:00 2001 From: phaleth <29838606+phaleth@users.noreply.github.com> Date: Tue, 13 Feb 2024 21:11:28 +0100 Subject: [PATCH] docs: change unprocessable content code name to unprocessable entity --- docs/guide/responses.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/responses.md b/docs/guide/responses.md index b4e7331f..b69e7d5b 100644 --- a/docs/guide/responses.md +++ b/docs/guide/responses.md @@ -37,7 +37,7 @@ export default { const { name } = request.body; if (name === undefined) { - return text("No name specified", { status: Status.UNPROCESSABLE_CONTENT }); + return text("No name specified", { status: Status.UNPROCESSABLE_ENTITY }); } return text("Name submitted successfully", { status: Status.CREATED });