MongoDB and Mongoose - Create and Save a Record of a Model

Tell us what’s happening:
Describe your issue in detail here. Create and Save a Record of a Model
my cod is correct but testis not running

Your project link(s)

solution: boilerplate-mongomongoose-35 - Replit

Your browser information:

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

Challenge: MongoDB and Mongoose - Create and Save a Record of a Model

Link to the challenge:

I don’t think (err, data) => err ? done(err) : done(null, data) is needed. Simply do (err, data) => done(null, data);

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