KamoCRM

Handle empty API responses and graceful degradation on billing tab

Fixkamo-internal
Shipped
April 17, 2026 at 3:26 AM UTC
Author
kamo
Commit
88d809a

- billingApi get/put helpers now safely handle empty response bodies instead of crashing on res.json() with empty input - PlansBillingTab loadData wraps every billing API call with .catch() so individual endpoint failures don't break the entire page — the tab renders with whatever data is available

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