From 14a9c4d4097e521a5c103f24fe32ebdda737b0bb Mon Sep 17 00:00:00 2001 From: nnayk <79224511+nnayk@users.noreply.github.com> Date: Thu, 7 Dec 2023 23:38:36 -0800 Subject: [PATCH] Remove unneeded decorator --- Backend/db_access.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Backend/db_access.py b/Backend/db_access.py index 07b9b21..0c72289 100644 --- a/Backend/db_access.py +++ b/Backend/db_access.py @@ -23,7 +23,6 @@ app = Flask(__name__) -@app.before_request def db_connect(DB_URL=None): # MongoDB connection mongo_uri = DB_URL or os.environ.get("MONGO_URI")