Skip to content

Commit bd0f84f

Browse files
committed
fix: styles
1 parent 799a8ca commit bd0f84f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/tools/atlas/createProject.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,16 @@ export class CreateProjectTool extends AtlasToolBase {
2525
try {
2626
const organizations = await this.session.apiClient.listOrganizations();
2727
if (!organizations?.results?.length) {
28-
throw new Error("No organizations were found in your MongoDB Atlas account. Please create an organization first.");
28+
throw new Error(
29+
"No organizations were found in your MongoDB Atlas account. Please create an organization first."
30+
);
2931
}
3032
organizationId = organizations.results[0].id;
3133
assumedOrg = true;
3234
} catch {
33-
throw new Error("Could not search for organizations in your MongoDB Atlas account, please provide an organization ID or create one first.");
35+
throw new Error(
36+
"Could not search for organizations in your MongoDB Atlas account, please provide an organization ID or create one first."
37+
);
3438
}
3539
}
3640

0 commit comments

Comments
 (0)