KamoCRM

Forward raw JSON responses in notes API routes to preserve ID precision

Fixkamo-internal
شحنت
23 مارس 2026 في 6:56 ص UTC
المؤلف
kamo
الالتزام
129a422

CockroachDB unique_rowid() IDs exceed JavaScript's MAX_SAFE_INTEGER. The previous response.json() + NextResponse.json() round-trip caused JSON.parse to convert string IDs to numbers, losing precision (e.g. 1160515565614497798 became 1160515565614497800). Now forwards the raw response text to preserve exact ID values from the backend.

جميع التغييرات

مثل ما ترى الشحن؟

كل هذا يأتي في مساحة عملك من تلقاء نفسه. ابدأ بالخطة المجانية وقرأ هذه الصفحة مرة أخرى في غضون شهر.

بدء الحرية إلى الأبدعرض التسعير