ghostguild-org/server/api/events/[id]
Jennie Robinson Faber 8f0648de57
Some checks failed
Test / vitest (push) Successful in 10m52s
Test / playwright (push) Failing after 9m35s
Test / visual (push) Failing after 9m32s
Test / Notify on failure (push) Successful in 2s
fix(events): surface series-pass-required in ticket availability response
When a series requires a pass and doesn't allow drop-ins, the
per-event availability endpoint returned a generic "No tickets
available" reason, leaving the UI to render an "Event Sold Out"
block for guests (logged-in users short-circuit via
check-series-access first).

Detect the gate server-side and return
{available:false, reason:"series_pass_required", requiresSeriesPass:true,
series:{id,title,slug}} so EventTicketPurchase's existing
requiresSeriesPass branch renders a pass-required CTA with a link to
the series page. The register and purchase handlers already enforce
the gate server-side; this is a messaging fix only.
2026-04-20 20:13:36 +01:00
..
tickets fix(events): surface series-pass-required in ticket availability response 2026-04-20 20:13:36 +01:00
calendar.get.js Many an update! 2025-12-01 15:26:42 +00:00
cancel-registration.post.js feat(events): block self-cancel of paid registrations, add refunds policy 2026-04-20 19:34:04 +01:00
check-registration.post.js Add Zod validation to all API endpoints and remove debug test route 2026-03-01 17:04:26 +00:00
check-series-access.get.js Add landing page 2025-11-03 11:17:51 +00:00
payment.post.js feat(server): rename contributionTier → contributionAmount in routes + utils 2026-04-19 18:44:29 +01:00
register.post.js fix(events): read allowIndividualEventTickets from series.tickets 2026-04-20 19:25:24 +01:00
waitlist.delete.js Add Zod validation to all API endpoints and remove debug test route 2026-03-01 17:04:26 +00:00
waitlist.post.js feat(server): rename contributionTier → contributionAmount in routes + utils 2026-04-19 18:44:29 +01:00