Skip to content

Commit e68df4e

Browse files
authored
docs: fix syntax for pulling products from cache (#102)
1 parent c4d7a93 commit e68df4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/content/docs/methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const missingProducts = await bento.missing({ key: 'products' })
197197
Get the value of the key, and then delete it from the cache. Returns `undefined` if the key does not exist.
198198

199199
```ts
200-
const products = await bento.pull({ key: 'products' })
200+
const products = await bento.pull('products')
201201
```
202202

203203
## delete

0 commit comments

Comments
 (0)