Skip to content

Commit

Permalink
Update API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Jan 14, 2019
1 parent f785fa0 commit 04758ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Expand Up @@ -3513,7 +3513,7 @@ If a custom validation function (see `headers`, `params`, `query`, or `payload`
then `options` can an arbitrary object that will be passed to this function as the second
parameter.

The values of the other inputs (i.e. `headers`, `query`, `params`, `payload`, 'state', `app`, and `auth`)
The values of the other inputs (i.e. `headers`, `query`, `params`, `payload`, `state`, `app`, and `auth`)
are added to the `options` object under the validation `context` (accessible in rules as
`Joi.ref('$query.key')`).

Expand Down

0 comments on commit 04758ac

Please sign in to comment.