Skip to content

Commit

Permalink
Update database.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeflix-Bots authored Aug 16, 2024
1 parent 88abdb5 commit e4add21
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions database/database.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
#(©)CodeXBotz




import pymongo, os
from config import DB_URI, DB_NAME
from config import DB_URL, DB_NAME


dbclient = pymongo.MongoClient(DB_URI)
dbclient = pymongo.MongoClient(DB_URL)
database = dbclient[DB_NAME]


user_data = database['users']


Expand Down

0 comments on commit e4add21

Please sign in to comment.