chore: remove dead guest-register event route

The /api/events/[id]/guest-register endpoint has no production
callers: it's superseded by tickets/purchase.post.js, which
handles guest Member upsert via status:"guest" when
body.createAccount is true. Drops the route file, its
source-assertion tests, guestRegisterSchema, and its validation
coverage.
This commit is contained in:
Jennie Robinson Faber 2026-04-17 16:36:34 +01:00
parent 5fb2f18cab
commit 3ba633cce2
4 changed files with 3 additions and 155 deletions

View file

@ -125,11 +125,6 @@ export const checkRegistrationSchema = z.object({
email: z.string().trim().toLowerCase().email()
})
export const guestRegisterSchema = z.object({
name: z.string().min(1).max(200),
email: z.string().trim().toLowerCase().email()
})
export const eventPaymentSchema = z.object({
name: z.string().min(1).max(200),
email: z.string().trim().toLowerCase().email(),