mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
remover booker, that's overdosed
It also brings the problem of consolidating bookers over multiple bookings. The amount of data is not justifying having it in an own entity
This commit is contained in:
@@ -30,15 +30,11 @@ export default async function userHandler(
|
||||
return
|
||||
}
|
||||
|
||||
console.log(
|
||||
`received booking ${booking.uuid} from {booking.booker.email}`
|
||||
)
|
||||
console.log(`received booking ${booking.uuid} from {booking.email}`)
|
||||
await sendReceivedBookingAdminMail(booking)
|
||||
console.log(`send booking ${booking.uuid} received to admin`)
|
||||
await sendReceivedBookingBookerMail(booking)
|
||||
console.log(
|
||||
`send booking ${booking.uuid} received to {booking.booker.email}`
|
||||
)
|
||||
console.log(`send booking ${booking.uuid} received to {booking.email}`)
|
||||
break
|
||||
default:
|
||||
res.setHeader('Allow', ['POST'])
|
||||
|
||||
Reference in New Issue
Block a user