Skip to content

Commit

Permalink
Update connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
avgupta456 committed Dec 4, 2023
1 parent 32c2587 commit 8008a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/data/mongo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def get_conn_str(password: str, database: str) -> str:
return f"mongodb+srv://root:{password}@backend.aqlpb.mongodb.net/?retryWrites=true&w=majority"
return f"mongodb+srv://root:{password}@backend.aqlpb.mongodb.net/{database}?retryWrites=true&w=majority"


if LOCAL:
Expand Down

1 comment on commit 8008a3a

@vercel
Copy link

@vercel vercel bot commented on 8008a3a Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.