From d3972b9bed35fffd2a23d4b1988a6b873a7981d5 Mon Sep 17 00:00:00 2001 From: challapallimails-ops Date: Tue, 2 Jun 2026 15:19:22 +0530 Subject: [PATCH] Update mongoose.js --- lib/mongoose.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mongoose.js b/lib/mongoose.js index 8c858cc..3e8499a 100644 --- a/lib/mongoose.js +++ b/lib/mongoose.js @@ -4,7 +4,7 @@ export function mongooseConnect() { if (mongoose.connection.readyState === 1) { return mongoose.connection.asPromise(); } else { - const uri = process.env.MONGODB_URI; + const uri = process.env.MONGO_MONGODB_URI; return mongoose.connect(uri); } -} \ No newline at end of file +}