Accept UUID strings for feature IDs in org Zod schema

Fixkamo-internal
Navios
27 de março de 2026 às 18:47 UTC
Autor
kamo
Enviar
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.

Todas as alterações

Como o que vês no transporte?

Cada uma dessas atualizações pousa automaticamente em seu espaço de trabalho. Comece grátis e veja crescer semana após semana.

Começar Livre Para SempreVer Preços