Skip to content

Commit

Permalink
(fix) Remove false sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
predetermined committed Jul 21, 2021
1 parent 7039edd commit 2341702
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ the `mustExist` function looks:
function mustExist(key: string): RoutingSchemaValidationFunction {
return (context) => {
/**
* The `context` could either be a `cookies`,
* `context` could either be a `cookies`,
* `parameters`, `headers`, `query` or `body` object.
* Luckily, they all have the same type.
*/
return Object.keys(context).includes(key);
};
Expand Down

0 comments on commit 2341702

Please sign in to comment.