We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7431196 commit d1cafe2Copy full SHA for d1cafe2
src/commands/organization/fetch-organization-list.mts
@@ -12,7 +12,7 @@ export type FetchOrganizationOptions = {
12
}
13
14
export type EnterpriseOrganization = Omit<Organization, 'plan'> & {
15
- plan: 'enterprise'
+ plan: `enterprise${string}`
16
17
18
export type EnterpriseOrganizations = EnterpriseOrganization[]
src/utils/organization.mts
@@ -6,7 +6,7 @@ import type {
6
export function getEnterpriseOrgs(
7
orgs: Organizations,
8
): EnterpriseOrganizations {
9
- return orgs.filter(o => o.plan === 'enterprise') as EnterpriseOrganizations
+ return orgs.filter(o => o.plan.includes('enterprise')) as EnterpriseOrganizations
10
11
export function getOrgSlugs(orgs: Organizations): string[] {
0 commit comments