KamoCRM

Accept leadId as string in createPost to preserve CRDB id precision

FixSecurityService
Shipped
2 ஜூலை, 2026 அன்று 6:19 AM UTC
Author
Kamo
Commit
3758c72

Lead IDs are CRDB unique_rowid() values that exceed JS MAX_SAFE_INTEGER. The frontend now sends leadId as a string; parse both String and numeric forms so findById gets the exact id instead of a rounded value (which returned 404 'Lead not found' -> 'Failed to create post').

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