Skip to content

Commit 16c6373

Browse files
author
Eran Hammer
committed
Merge pull request hapijs#2498 from mtharrison/apidocs
Corrected mistake in API docs: `source` parameter possible values in `failAction`
2 parents 04cba14 + 21d2c1f commit 16c6373

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

API.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,8 +2277,7 @@ following options:
22772277
'function(request, reply, source, error)` where:
22782278
- `request` - the [request object](#request-object).
22792279
- `reply` - the continuation [reply interface](#reply-interface).
2280-
- `source` - the source of the invalid field (e.g. `'path'`, `'query'`,
2281-
`'payload'`).
2280+
- `source` - the source of the invalid field (e.g. `'headers'`, `'params'`, `'query'`, `'payload'`).
22822281
- `error` - the error object prepared for the client response (including the
22832282
validation function error under `error.data`).
22842283

0 commit comments

Comments
 (0)