Skip to content

Commit 837d0fc

Browse files
authored
Fix existing redis client example in README (#65)
1 parent ee1726f commit 837d0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ closed.
5555
const fastify = require('fastify')()
5656
const redis = require('redis').createClient({ host: 'localhost', port: 6379 })
5757

58-
fastify.register(fastifyRedis, { client: redis })
58+
fastify.register(require('fastify-redis'), { client: redis })
5959

6060
// ...
6161
// ...

0 commit comments

Comments
 (0)