From ed5743d1f0587f22ce145e82664a5212074077bc Mon Sep 17 00:00:00 2001 From: dbroqua Date: Tue, 7 Jan 2020 16:35:41 +0100 Subject: [PATCH] Added debug mode for mongoose --- models/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/models/index.js b/models/index.js index b59cba8..149abe4 100644 --- a/models/index.js +++ b/models/index.js @@ -8,7 +8,6 @@ mongoose.set('useNewUrlParser', true) mongoose.set('useUnifiedTopology', true) mongoose.set('useFindAndModify', false) mongoose.set('useCreateIndex', true) -mongoose.set('debug', true) mongoose.connect(process.env.MONGO_URL)