KamoCRM

Resolve Next.js dynamic route slug conflict ('id' vs 'marketId')

Fixkamo-internal
Shipped
10 மார்ச், 2026 அன்று 2:10 AM UTC
Author
kamo
Commit
77df6cc

Merge [marketId] directory into [id] for commerce-markets API routes. Next.js requires all dynamic segments at the same path level to use the same parameter name. Renamed params from marketId to id with destructuring alias.

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