Accept leadId as string in createPost to preserve CRDB id precision

FixSecurityService
Shipped
July 2, 2026 at 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?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing