Nov 1 · 1 min read
Hi Sam!
Thanks for the post.
Just one question for now. Why use “users” in:
- module.exports = mongoose.model(‘users’, Movie)
Mine didn’t work, I had to change it to:
- module.exports = mongoose.model(‘movies’, Movie)
Thanks in advance.
