diff --git a/packages/react-components/src/utils/organization.ts b/packages/react-components/src/utils/organization.ts index fea05fa3..a291999f 100644 --- a/packages/react-components/src/utils/organization.ts +++ b/packages/react-components/src/utils/organization.ts @@ -41,8 +41,7 @@ export async function getOrganizationConfig( const sdk = getSdk(config) const organization = await sdk.organization.retrieve({ fields: { - // @ts-expect-error typing fails here? - organization: ['id', 'config'] + organizations: ['id', 'config'] } }) return getConfig({