KamoCRM

Legacy getCurrentSubscription stub must throw, not return null

Fixkamo-internal
Shipped
29 ஏப்ரல், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing