Legacy getCurrentSubscription stub must throw, not return null

Fixkamo-internal
Shipped
April 29, 2026 at 6:32 PM UTC
Author
kamo
Commit
9a5fb11

Returning null made FeaturesManager treat every org as having no subscription (billingLoaded=true, hasSubscription=false), locking all feature toggles behind an upgrade wall. The stub must throw so the catch block sets subscription=undefined which correctly signals "billing not integrated → skip gating".

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing