Missing `done()` argument?

Tell us what’s happening:
I have a problem with the done argument. Glitch is saying it’s missing but when I crosscheck it with the FCC solution, it should work but it doesn’t.
Your project link(s)

solution: https://boilerplate-mongomongoose-1.springstep.repl.co

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0.

Challenge: Create and Save a Record of a Model

Link to the challenge:

Hello there,

When I look at your code, I see this:

const createAndSavePerson = done => {
  done(null /*, data*/);
};

Here are the instructions:

Within the createAndSavePerson function, create a document instance using the Person model constructor you built before.

Can you see the issue?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.