Skip to content

Commit 0bb438e

Browse files
committed
fix: styles
1 parent 4fa5d6a commit 0bb438e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tools/atlas/listProjects.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ export class ListProjectsTool extends AtlasToolBase {
1919
throw new Error("No organizations found in your MongoDB Atlas account.");
2020
}
2121

22-
const orgs: Record<string, string> = orgData.results.map((org) => [org.id || "", org.name]).reduce((acc, [id, name]) => ({ ...acc, [id]: name }), {});
22+
const orgs: Record<string, string> = orgData.results
23+
.map((org) => [org.id || "", org.name])
24+
.reduce((acc, [id, name]) => ({ ...acc, [id]: name }), {});
2325

2426
const data = orgId
2527
? await this.session.apiClient.listOrganizationProjects({

0 commit comments

Comments
 (0)