Skip to content

Commit 790b652

Browse files
committed
fix: ignore connectionString on atlas tools
1 parent 22d3680 commit 790b652

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ You may experiment asking `Can you connect to my mongodb instance?`.
109109
- `atlas-list-db-users` - List MongoDB Atlas database users
110110
- `atlas-create-db-user` - List MongoDB Atlas database users
111111

112-
NOTE: atlas tools are only available when you set credentials and do not set connection string on [configuration](#configuration) section.
112+
NOTE: atlas tools are only available when you set credentials on [configuration](#configuration) section.
113113

114114
#### MongoDB Database Tools
115115

src/tools/atlas/atlasTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export abstract class AtlasToolBase extends ToolBase {
1010
protected category: ToolCategory = "atlas";
1111

1212
protected verifyAllowed(): boolean {
13-
if (config.connectionString || !config.apiClientId || !config.apiClientSecret) {
13+
if (!config.apiClientId || !config.apiClientSecret) {
1414
return false;
1515
}
1616
return super.verifyAllowed();

0 commit comments

Comments
 (0)