From bd67a6693a08b554d0181ad6b481134cd1528f0c Mon Sep 17 00:00:00 2001 From: skoparde <33005639+her0d0tus@users.noreply.github.com> Date: Thu, 26 Jul 2018 00:19:38 -0400 Subject: [PATCH] fix(challenges): fix typo in a "mongodb and mongoose" challenge Added the word "multiple" to the description of the "Use model.findOne() to Return a Single Matching Document from Your Database" --- challenges/05-apis-and-microservices/mongodb-and-mongoose.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/05-apis-and-microservices/mongodb-and-mongoose.json b/challenges/05-apis-and-microservices/mongodb-and-mongoose.json index ebc8d9d047..e2633522ee 100644 --- a/challenges/05-apis-and-microservices/mongodb-and-mongoose.json +++ b/challenges/05-apis-and-microservices/mongodb-and-mongoose.json @@ -135,7 +135,7 @@ "title": "Use model.findOne() to Return a Single Matching Document from Your Database", "description": [ - "Model.findOne() behaves like .find(), but it returns only one document (not an array), even if there are items. It is especially useful when searching by properties that you have declared as unique. Find just one person which has a certain food in her favorites, using Model.findOne() -> Person. Use the function argument food as search key." + "Model.findOne() behaves like .find(), but it returns only one document (not an array), even if there are multiple items. It is especially useful when searching by properties that you have declared as unique. Find just one person which has a certain food in her favorites, using Model.findOne() -> Person. Use the function argument food as search key." ], "tests": [ {