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:
parent
5fb2f18cab
commit
3ba633cce2
4 changed files with 3 additions and 155 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue