From 50e36e67f02de513b51efc233db8237a6e218569 Mon Sep 17 00:00:00 2001 From: Jason Koh Date: Tue, 27 May 2025 14:51:31 -0700 Subject: [PATCH] clean up --- api/lib/db/connectDb.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/lib/db/connectDb.js b/api/lib/db/connectDb.js index 09f1f77a80..6fdd4aad0c 100644 --- a/api/lib/db/connectDb.js +++ b/api/lib/db/connectDb.js @@ -6,9 +6,6 @@ const MONGO_DB_NAME = process.env.MONGO_DB_NAME; if (!MONGO_URI) { throw new Error('Please define the MONGO_URI environment variable'); } -if (!MONGO_DB_NAME) { - MONGO_DB_NAME = null -} /** * Global is used here to maintain a cached connection across hot reloads