From f6350ddc38cd08526076c4d6aa62c410ffb3290e Mon Sep 17 00:00:00 2001 From: Fredrik Johansen Date: Mon, 11 Dec 2023 13:05:27 +0100 Subject: [PATCH] docs(readme): fixes syntax error in usage example in readme --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 579c9a3..2749878 100644 --- a/README.md +++ b/README.md @@ -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: {},