KamoCRM

Add missing /api/security/lead-imports proxy route; default to Import Templates

Fixkamo-internal
Shipped
2 ஜூலை, 2026 அன்று 4:32 PM UTC
Author
kamo
Commit
91904c6

- The base GET/POST /api/security/lead-imports had NO Next proxy route.ts (only sub-paths did), so Past Imports fetch (and the import POST) 500'd at the Next layer while SecurityService itself was fine. Add the base route.ts (GET history + POST import, X-***-Token + query-string passthrough) mirroring the templates proxy. - Default the manual-imports view to the Import Templates sub-tab.

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