KamoCRM

Cast customFormData to correct type in CreateLeadClient

Fixkamo-internal
Shipped
4 டிசம்பர், 2025 அன்று 11:44 PM UTC
Author
snadjafinia
Commit
2d36ae4

- TypeScript was complaining about type mismatch between Record<string, Record<string, unknown>> and Record<string, CustomFormData> - Added type assertion to match Lead interface structure - leadsApi.createLead already handles conversion of both formats

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