From c587ba5431fce0b32e1212bc3c4bf73430561d76 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Tue, 15 Jan 2019 21:25:59 +0200 Subject: [PATCH] javascript(mongy): fixed the readme Signed-off-by: prescientmoon --- javascript/mongy/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/mongy/README.md b/javascript/mongy/README.md index 526f726..84d988e 100644 --- a/javascript/mongy/README.md +++ b/javascript/mongy/README.md @@ -18,7 +18,7 @@ The next step is to create an instance of the Mongy class: const mydb = new Mongy(); ``` -To connect to your datebase you need to call the (async) 'connect' method: +To connect to your datebase you need to call the 'connect' method: ``` mydb.connect(process.env.DBURL); ``` @@ -38,7 +38,7 @@ async function addUser(name,email){ } ``` -And then to save your model call the (async) function 'saveModel': +And then to save your model call the function 'saveModel': ``` async function addUser(name,email){ ...