File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments