diff --git a/README.md b/README.md index a3477f9..18ba0e6 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ const options = { const pubClient = new Redis(options); const subClient = new Redis(options); -io.adapter(redisAdapter({ pubClient: options, subClient: options })); +io.adapter(redisAdapter({ pubClient: pubClient, subClient: subClient })); ``` ## Protocol