Skip to content

Commit d1b3c4f

Browse files
authored
Merge pull request #302 from revington/fix-typo
fix typo
2 parents 6f1a750 + 47a2bc1 commit d1b3c4f

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
@@ -519,7 +519,7 @@ The `insert` function can also be used with the method signature `db.insert(doc,
519519

520520
```js
521521
const alice = nano.use('alice')
522-
const response alice.insert({ _id: 'myid', happy: true })
522+
const response = await alice.insert({ _id: 'myid', happy: true })
523523
```
524524

525525
and also used to update an existing document, by including the `_rev` token in the document being saved:

0 commit comments

Comments
 (0)