KamoCRM

Return 200 allFalse for unconfigured org capabilities

FixVOIPService
Shipped
7 ஜூலை, 2026 அன்று 12:52 AM UTC
Author
Kamo
Commit
d7965ba

GET /api/voip/capabilities threw ProviderNotConfiguredException (422) when an org had no phone provider, logging a red console error on every page load for phone-less orgs. Capabilities is a pure query with a natural empty answer, so return 200 allFalse() instead. Add a 'configured' flag (true only when a provider exists) so clients can distinguish 'no provider' from a configured provider that advertises no feature flags (e.g. KamoPBX).

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