Replace hardcoded event details and ticket types with dynamic DB records Add booking-config API endpoint to serve active event settings
6 lines
164 B
TypeScript
6 lines
164 B
TypeScript
import { getPublicBookingConfig } from '../../utils/booking-repository'
|
|
|
|
export default defineEventHandler(async () => {
|
|
return await getPublicBookingConfig()
|
|
})
|