diff --git a/curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-a-model.english.md b/curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-a-model.english.md index f9aa8d9e10..4c7f888733 100644 --- a/curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-a-model.english.md +++ b/curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-a-model.english.md @@ -23,9 +23,9 @@ Note: Glitch is a real server, and in real servers the interactions with the db Warning - When interacting with remote services, errors may occur ! /* Example */ var someFunc = function(done) { - //... do something (risky) ... - if(error) return done(error); - done(null, result); +  //... do something (risky) ... +  if(error) return done(error); +  done(null, result); };