Spaces:
Runtime error
Runtime error
Update database.py
Browse files- database.py +1 -1
database.py
CHANGED
|
@@ -18,7 +18,7 @@ password = quote_plus(os.environ['pw'])
|
|
| 18 |
|
| 19 |
from pymongo.mongo_client import MongoClient
|
| 20 |
|
| 21 |
-
uri = f"mongodb+srv://
|
| 22 |
|
| 23 |
# Create a new client and connect to the server
|
| 24 |
client = MongoClient(uri)
|
|
|
|
| 18 |
|
| 19 |
from pymongo.mongo_client import MongoClient
|
| 20 |
|
| 21 |
+
uri = f"mongodb+srv://deemaa2:{password}@cluster0.tzvxqk3.mongodb.net/?retryWrites=true&w=majority"
|
| 22 |
|
| 23 |
# Create a new client and connect to the server
|
| 24 |
client = MongoClient(uri)
|