rwitz commited on
Commit
deb8f35
1 Parent(s): 2a18a15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,8 +57,8 @@ password=os.environ.get("MONGODB")
57
  def init_database():
58
  uri = f"mongodb+srv://new-user:{password}@cluster0.xb2urf6.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
59
  client = MongoClient(uri)
60
- db = client["elo_ratings2"]
61
- collection = db["elo_ratings2"]
62
  return collection
63
 
64
  import json
 
57
  def init_database():
58
  uri = f"mongodb+srv://new-user:{password}@cluster0.xb2urf6.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
59
  client = MongoClient(uri)
60
+ db = client["elo_ratings"]
61
+ collection = db["elo_ratings"]
62
  return collection
63
 
64
  import json