Skip to content

Commit 5e1cebe

Browse files
committed
fix the example in createClient
1 parent 2a768f3 commit 5e1cebe

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
@@ -221,7 +221,7 @@ You can force an IPv6 if you set the family to 'IPv6'. See nodejs net or dns mod
221221

222222
```js
223223
var redis = require("redis"),
224-
client = redis.createClient(null, null, {detect_buffers: true});
224+
client = redis.createClient({detect_buffers: true});
225225

226226
client.set("foo_rand000000000000", "OK");
227227

0 commit comments

Comments
 (0)