From c1160c53a22a1785be0ed623d8a1b2149a7ee4d1 Mon Sep 17 00:00:00 2001 From: Niraj Nandish Date: Fri, 20 Jul 2018 18:33:22 +0400 Subject: [PATCH] fix(challenges): typo and grammatical error Wong spelling of document(was document). --- 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 46e3f4c89..ebc8d9d04 100644 --- a/challenges/05-apis-and-microservices/mongodb-and-mongoose.json +++ b/challenges/05-apis-and-microservices/mongodb-and-mongoose.json @@ -230,7 +230,7 @@ "id": "587d7fb8367417b2b2512c11", "title": "Delete Many Documents with model.remove()", "description": [ - "Model.remove() is useful to delete all the documents matching given criteria. Delete all the people whose name is “Mary”, using Model.remove(). Pass to it a query ducument with the “name” field set, and of course a callback.", + "Model.remove() is useful to delete all the documents matching given criteria. Delete all the people whose name is “Mary”, using Model.remove(). Pass it to a query document with the “name” field set, and of course a callback.", "Note: Model.remove() doesn’t return the deleted document, but a JSON object containing the outcome of the operation, and the number of items affected. Don’t forget to pass it to the done() callback, since we use it in tests." ], "tests": [