Sadiaa commited on
Commit
b0a67e4
·
verified ·
1 Parent(s): edb96d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ encoded_password = urllib.parse.quote_plus(password)
38
  #client = MongoClient(MONGODB_ATLAS_CLUSTER_URI)
39
  MONGODB_ATLAS_CLUSTER_URI = (
40
  f"mongodb+srv://{encoded_username}:{encoded_password}"
41
- f"@cluster0.04y7a.mongodb.net/comsatsbot"
42
  )
43
  client = MongoClient(MONGODB_ATLAS_CLUSTER_URI)
44
 
 
38
  #client = MongoClient(MONGODB_ATLAS_CLUSTER_URI)
39
  MONGODB_ATLAS_CLUSTER_URI = (
40
  f"mongodb+srv://{encoded_username}:{encoded_password}"
41
+ f"@comsatsbot.04y7a.mongodb.net/?appName=ComsatsBot&retryWrites=true&w=majority"
42
  )
43
  client = MongoClient(MONGODB_ATLAS_CLUSTER_URI)
44