From eecafee7cf0a6066308c839dc4d9b43343fceca7 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 22 Nov 2024 21:09:04 +0000 Subject: [PATCH] Patch mongodb connection string Signed-off-by: Fred Boniface --- src/services/dbAccess.services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/dbAccess.services.js b/src/services/dbAccess.services.js index ff4fad3..507d3e0 100644 --- a/src/services/dbAccess.services.js +++ b/src/services/dbAccess.services.js @@ -5,7 +5,7 @@ const dbPass = process.env.OWL_DB_PASS || "twittwoo"; const dbName = process.env.OWL_DB_NAME || "owlboard"; const dbPort = process.env.OWL_DB_PORT || 27017; const dbHost = process.env.OWL_DB_HOST || "localhost"; -const uri = `mongodb://${dbUser}:${dbPass}@${dbHost}:${dbPort}?authSource=owlboard`; +const uri = `mongodb://${dbUser}:${dbPass}@${dbHost}:${dbPort}/?authSource=owlboard`; const { MongoClient } = require("mongodb");