Spaces:
Sleeping
Sleeping
Update db/mongo.py
Browse files- db/mongo.py +1 -1
db/mongo.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import certifi
|
| 2 |
from motor.motor_asyncio import AsyncIOMotorClient
|
| 3 |
-
from
|
| 4 |
|
| 5 |
client = AsyncIOMotorClient(MONGO_URI, tls=True, tlsCAFile=certifi.where())
|
| 6 |
db = client["cps_db"]
|
|
|
|
| 1 |
import certifi
|
| 2 |
from motor.motor_asyncio import AsyncIOMotorClient
|
| 3 |
+
from core.config import MONGO_URI
|
| 4 |
|
| 5 |
client = AsyncIOMotorClient(MONGO_URI, tls=True, tlsCAFile=certifi.where())
|
| 6 |
db = client["cps_db"]
|