mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
log sending booking received mail
This commit is contained in:
@@ -30,9 +30,15 @@ export default async function userHandler(
|
||||
return
|
||||
}
|
||||
|
||||
console.log(`received booking ${booking.uuid}`)
|
||||
console.log(
|
||||
`received booking ${booking.uuid} from {booking.booker.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}`
|
||||
)
|
||||
break
|
||||
default:
|
||||
res.setHeader('Allow', ['POST'])
|
||||
|
||||
Reference in New Issue
Block a user