Closed chuckchamberland closed 7 years ago
Add {useMongoClient:true} option object to the mongoose.connect call in db.js because of deprecation of underlying method in mongoose. See http://mongoosejs.com/docs/connections.html#use-mongo-client.
{useMongoClient:true}
Thanks for mentioning this. It's been a while since I wrote this piece of code. I've added the fix.
Add
{useMongoClient:true}
option object to the mongoose.connect call in db.js because of deprecation of underlying method in mongoose. See http://mongoosejs.com/docs/connections.html#use-mongo-client.