You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2022/08/05 17:04:38 UTC

[couchdb-nano] branch main updated: fix typo

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git


The following commit(s) were added to refs/heads/main by this push:
     new 47a2bc1  fix typo
     new d1b3c4f  Merge pull request #302 from revington/fix-typo
47a2bc1 is described below

commit 47a2bc15fec0b8611b3681f25690f4f0444f1386
Author: Pedro Narciso GarcĂ­a Revington <p....@gmail.com>
AuthorDate: Fri Aug 5 17:52:55 2022 +0200

    fix typo
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index db31c97..e019a5e 100644
--- a/README.md
+++ b/README.md
@@ -519,7 +519,7 @@ The `insert` function can also be used with the method signature `db.insert(doc,
 
 ```js
 const alice = nano.use('alice')
-const response alice.insert({ _id: 'myid', happy: true })
+const response = await alice.insert({ _id: 'myid', happy: true })
 ```
 
 and also used to update an existing document, by including the `_rev` token in the document being saved: