diff --git a/README.md b/README.md index 6cae87a270..abf95b10fa 100644 --- a/README.md +++ b/README.md @@ -394,7 +394,7 @@ responses using JavaScript syntax. ```js client.hmset("key", "foo", "bar", "hello", "world"); -client.hgetall("hosts", function(err, value) { +client.hgetall("key", function(err, value) { console.log(value.foo); // > "bar" console.log(value.hello); // > "world" });