We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18e783a commit b5863b9Copy full SHA for b5863b9
packages/app/src/cli/services/dev/fetch.ts
@@ -91,8 +91,7 @@ export async function fetchOrganizations(): Promise<Organization[]> {
91
92
if (organizations.length === 0) {
93
const developerPlatformClient = selectDeveloperPlatformClient()
94
- const session = await developerPlatformClient.session()
95
- const accountInfo = await fetchCurrentAccountInformation(developerPlatformClient, session.userId)
+ const accountInfo = await developerPlatformClient.accountInfo()
96
throw new NoOrgError(accountInfo)
97
}
98
return organizations
0 commit comments