Skip to content

Commit faf3799

Browse files
committed
fix(knowledge): remove dev bypass from hasLiveSyncAccess
1 parent cad0c2c commit faf3799

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

apps/sim/lib/billing/core/subscription.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,6 @@ export async function hasLiveSyncAccess(userId: string): Promise<boolean> {
471471
if (!isHosted) {
472472
return true
473473
}
474-
if (!isProd) {
475-
return true
476-
}
477474
const sub = await getHighestPrioritySubscription(userId)
478475
if (!sub) return false
479476
const billingStatus = await getEffectiveBillingStatus(userId)

0 commit comments

Comments
 (0)