From eb4ca5919eac005819b2faa9a4407a7f6b467cbc Mon Sep 17 00:00:00 2001 From: Selim Mustafaev Date: Mon, 23 Oct 2023 19:06:41 +0000 Subject: [PATCH] Changed db name --- middleware/mongo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/mongo.js b/middleware/mongo.js index bfb4dd7..3bb9c8d 100644 --- a/middleware/mongo.js +++ b/middleware/mongo.js @@ -14,7 +14,7 @@ module.exports = function (uri) { connection .then(function (client) { - req['db'] = client.db('autocatdev'); + req['db'] = client.db('autocat'); next(); }) .catch(function (err) {