fix(audit): UI — L18 (decorative emoji -> Lucide icons), L19 (gated NotesList timer + create-from-url ref-in-effect)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -81,6 +81,12 @@ export async function POST(req: NextRequest) {
|
||||
firstName: result.firstName,
|
||||
});
|
||||
|
||||
// L34 carve-out note: this is a public website intake POST (external
|
||||
// contract). Unlike the sibling intake routes it already uses the
|
||||
// canonical `{ data }` envelope — the external marketing site is
|
||||
// coded against THIS shape, so keep `{ data: { id, message } }` and do
|
||||
// not "normalize" it toward the bespoke `{ success }`/bare shapes used
|
||||
// by the other public intake endpoints.
|
||||
return NextResponse.json(
|
||||
{ data: { id: result.interestId, message: 'Interest registered successfully' } },
|
||||
{ status: 201 },
|
||||
|
||||
Reference in New Issue
Block a user