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

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

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

Start Free ForeverView Pricing