Skip to content

Commit 7eab00b

Browse files
committed
fix legacy team limits
1 parent 74de331 commit 7eab00b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/lib/billing/workspace-concurrency.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function getPlanConcurrencyLimit(plan: string | null | undefined, metadata: unkn
7272
return getEnterpriseConcurrencyLimit(metadata)
7373
}
7474

75-
if (plan === 'team') {
75+
if (isTeam(plan)) {
7676
return getTeamConcurrencyLimit()
7777
}
7878

@@ -81,7 +81,7 @@ function getPlanConcurrencyLimit(plan: string | null | undefined, metadata: unkn
8181
return getTeamConcurrencyLimit()
8282
}
8383

84-
if (isPro(plan) || isTeam(plan)) {
84+
if (isPro(plan)) {
8585
return getProConcurrencyLimit()
8686
}
8787

0 commit comments

Comments
 (0)