Skip to content

Commit e9cbe30

Browse files
veyonddarrachequesne
authored andcommittedMay 4, 2018
[docs] Fix Sentinel example in the README (#276)
1 parent 353870b commit e9cbe30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const options = {
230230
const pubClient = new Redis(options);
231231
const subClient = new Redis(options);
232232

233-
io.adapter(redisAdapter({ pubClient: options, subClient: options }));
233+
io.adapter(redisAdapter({ pubClient: pubClient, subClient: subClient }));
234234
```
235235

236236
## Protocol

0 commit comments

Comments
 (0)
Please sign in to comment.