Ali2206 commited on
Commit
996f294
·
verified ·
1 Parent(s): c2bd2db
Files changed (1) hide show
  1. db/mongo.py +0 -7
db/mongo.py DELETED
@@ -1,7 +0,0 @@
1
- import certifi
2
- from motor.motor_asyncio import AsyncIOMotorClient
3
- from app.core.config import MONGO_URI
4
-
5
- client = AsyncIOMotorClient(MONGO_URI, tls=True, tlsCAFile=certifi.where())
6
- db = client["cps_db"]
7
- users_collection = db["users"]