Accept UUID strings for feature IDs in org Zod schema

Fixkamo-internal
ส่งแล้ว
27 มีนาคม 2569 เวลา 18:47 UTC
ผู้เขียน
kamo
ตั้งค่า
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.

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์