From 0fd991f438c97f47f56849e8088c3583e1757d4e Mon Sep 17 00:00:00 2001 From: Arnold Lestin Date: Fri, 4 May 2018 08:58:28 -0400 Subject: [PATCH] Update update.js The age needs to be updated to 40, not 0 --- update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.js b/update.js index 27a5340..43d7f00 100644 --- a/update.js +++ b/update.js @@ -11,7 +11,7 @@ mongoClient.connect(url, function(err, DB) { dataBase .collection('users') - .updateOne({ username: 'tinatime' }, { $set: { age: 0 } }) + .updateOne({ username: 'tinatime' }, { $set: { age: 40 } }) .then(function(data) { console.log('New age: 40'); }).catch(console.log);