diff --git a/README.md b/README.md index 6664559..1fb1f31 100644 --- a/README.md +++ b/README.md @@ -149,8 +149,8 @@ memoryCache.wrap(key, function (cb) { ```javascript memoryCache.wrap(key, function() { return getUserPromise(userId); -}); -then(function(user) { +}) +.then(function(user) { console.log('User:', user); }); ```