Accept UUID strings for feature IDs in org Zod schema

Fixkamo-internal
Spegnimento
27 marzo 2026 alle ore 18:47 UTC
Autore
kamo
Impegno
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.

Tutte le modifiche

Come quello che vedi la spedizione?

Ognuno di questi aggiornamenti atterra automaticamente nello spazio di lavoro. Inizia gratis e guardalo crescere settimana dopo settimana.

Inizia gratis per sempreVisualizza il prezzo