Skip to content

Commit 21c2121

Browse files
committed
typo fix in readme
1 parent bfa3fed commit 21c2121

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ memoryCache.wrap(key, function (cb) {
149149
```javascript
150150
memoryCache.wrap(key, function() {
151151
return getUserPromise(userId);
152-
});
153-
then(function(user) {
152+
})
153+
.then(function(user) {
154154
console.log('User:', user);
155155
});
156156
```

0 commit comments

Comments
 (0)