xxxxxxxxxx
{
useNewUrlParser:true,
useUnifiedTopology: true
}
// --------------
MongoClient.connect(
process.env.RESTREVIEWS_DB_URI,
{
useNewUrlParser:true,
useUnifiedTopology: true
}
)
.catch(err => {
})
.then(async client => {
})