diff --git a/lib/model/dbConn.js b/lib/model/dbConn.js index fd697b4..b833501 100644 --- a/lib/model/dbConn.js +++ b/lib/model/dbConn.js @@ -108,7 +108,7 @@ function init(host, db, port, username, password, options, callback) { logger.info(context, 'Attempting to connect to MongoDB instance. Attempt %d', retries); // just to avoid warnings with recent mongoose versions options.useNewUrlParser = true; - options.useUnifiedTopology = true + options.useUnifiedTopology = true; mongoose.set('useCreateIndex', true); /* eslint-disable-next-line no-unused-vars */ const candidateDb = mongoose.createConnection(url, options, function(error, result) {