Skip to content

Commit

Permalink
Merge pull request #12 from blastorg/readme-exmaple-fix
Browse files Browse the repository at this point in the history
docs(readme): fixes syntax error in usage example in readme
  • Loading branch information
fredrikj31 authored Dec 11, 2023
2 parents 3fda1b1 + f6350dd commit 95344fc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,9 @@ fastify.get(
"/",
{
config: {
config: {
cache: {
cacheEnabled: true, // Set to true if endpoint responses should be cached. If you don't want to cache responses set it to false, or don't specify it.
ttlSeconds: 10, // Optional! TTL on the cached value
},
cache: {
cacheEnabled: true, // Set to true if endpoint responses should be cached. If you don't want to cache responses set it to false, or don't specify it.
ttlSeconds: 10, // Optional! TTL on the cached value
},
},
schema: {},
Expand Down

0 comments on commit 95344fc

Please sign in to comment.