Skip to content

Commit

Permalink
Remove unneeded decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
nnayk committed Dec 8, 2023
1 parent 5e43d92 commit 14a9c4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Backend/db_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 14a9c4d

Please sign in to comment.