KamoCRM

Accept UUID strings for feature IDs in org Zod schema

Fixkamo-internal
Shipped
27 மார்ச், 2026 அன்று 6:47 PM UTC
Author
kamo
Commit
18a9960

The OrgFeature schema required id to be a coercible integer, but the backend returns UUIDs. This caused a ZodError on every layout fetch, falling back to the hardcoded 10-feature list and hiding dynamically toggled apps like POS. Now accepts both numeric and string IDs.

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