From fd1a19d956d84d06b741cf487af371ba2b68a0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Est=C3=A9llez?= <40184673+hestellez@users.noreply.github.com> Date: Mon, 25 Feb 2019 18:49:42 -0600 Subject: [PATCH] Add indentation spaces to example code (#35047) --- .../mongodb-and-mongoose/create-a-model.english.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); };