Skip to content

Commit

Permalink
Remove decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
nnayk committed Dec 8, 2023
1 parent a47b670 commit 6213ba0
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 @@ -24,7 +24,6 @@
# db_lock = 0


@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 6213ba0

Please sign in to comment.