diff --git a/src/app.py b/src/app.py index ed17b57..5ea03c7 100644 --- a/src/app.py +++ b/src/app.py @@ -35,7 +35,7 @@ uri = f"mongodb://{root_username}:{root_password}@mongodb:27017/db?authSource=admin" #3 client = pymongo.MongoClient(uri) #4 -db = client[os.getenv("MONGO_DBNAME")] # store a reference to the database +db = client['Cluster0'] # store a reference to the database # the following try/except block is a way to verify that the database connection is alive (or not) try: