Skip to content

Commit

Permalink
update: remove directConnection!
Browse files Browse the repository at this point in the history
This was handled on server side.
  • Loading branch information
amindadgar committed Feb 28, 2024
1 parent 0215797 commit 47cf5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def config_mogno_creds(mongo_creds: dict[str, Any]):
host = mongo_creds["host"]
port = mongo_creds["port"]

connection = f"mongodb://{user}:{password}@{host}:{port}/?directConnection=true"
connection = f"mongodb://{user}:{password}@{host}:{port}"

return connection

0 comments on commit 47cf5f4

Please sign in to comment.