Skip to content

Commit

Permalink
Closes #4079
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed May 7, 2020
1 parent 6f3e08d commit faab7a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Expand Up @@ -2024,7 +2024,7 @@ Registers a [server method](#server.methods) where:
registered. Ignored if the method is an arrow function.

- `cache` - the same cache configuration used in [`server.cache()`](#server.cache()). The
`generateTimeout` option is required.
`generateTimeout` option is required, and the `generateFunc` options is not allowed.

- `generateKey` - a function used to generate a unique key (for caching) from the arguments
passed to the method function (the `flags` argument is not passed as input). The server
Expand Down
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -5,6 +5,9 @@
"version": "19.1.1",
"repository": "git://github.com/hapijs/hapi",
"main": "lib/index.js",
"engines": {
"node": ">=12.0.0"
},
"files": [
"lib"
],
Expand Down

0 comments on commit faab7a2

Please sign in to comment.