-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Describe the bug
Duplicate variable declarations exist in API route files, causing build errors.
Affected Files
1. src/app/api/leads/[id]/convert/route.ts:171
The POST function name is defined multiple times.
2. src/app/api/rum/session/route.ts:78
The session variable is declared multiple times.
Expected behavior
Each variable/function should be declared only once in its scope.
Possible Solution
Rename or remove duplicate declarations. For the POST function issue, ensure there's only one export per route handler.
Files Affected
src/app/api/leads/[id]/convert/route.ts:171src/app/api/rum/session/route.ts:78
Discovered By
Automated build error analysis during dev server startup.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels