feat(booking): move event and ticket configuration to database
Replace hardcoded event details and ticket types with dynamic DB records Add booking-config API endpoint to serve active event settings
This commit is contained in:
5
server/api/public/booking-config.get.ts
Normal file
5
server/api/public/booking-config.get.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { getPublicBookingConfig } from '../../utils/booking-repository'
|
||||
|
||||
export default defineEventHandler(async () => {
|
||||
return await getPublicBookingConfig()
|
||||
})
|
||||
Reference in New Issue
Block a user