diff --git a/db/db.js b/db/db.js index 12c1557..482864d 100644 --- a/db/db.js +++ b/db/db.js @@ -71,6 +71,6 @@ module.exports.connect = async function(connection) { console.log('Connecting to Mongo with URI: ' + uri); const client = await MongoClient.connect(uri, options); - db = client.db(connection.dbName); + db = client.db(); return db; };