Skip to content

Commit

Permalink
docs: change unprocessable content code name to unprocessable entity
Browse files Browse the repository at this point in the history
  • Loading branch information
phaleth authored and terrablue committed Feb 13, 2024
1 parent c06b9be commit 0b28da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 0b28da1

Please sign in to comment.