From 82d0d7e6e6d99a4c9e23bab37c8dbcc3debc60c4 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 18 Sep 2021 11:25:32 +0200 Subject: [PATCH] Remove deprecated options #291 --- src/utils/connect.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/connect.js b/src/utils/connect.js index 90b6945b..ac2103ab 100644 --- a/src/utils/connect.js +++ b/src/utils/connect.js @@ -3,7 +3,5 @@ const mongoose = require('mongoose') module.exports = (dbUrl) => mongoose.connect(dbUrl, { - useNewUrlParser: true, - useUnifiedTopology: true, connectTimeoutMS: 60000, }) \ No newline at end of file