prettier fix attempt-2
parent
5453af6d6e
commit
301c132815
|
@ -88,7 +88,6 @@ async function createOrlistAllBookings(
|
|||
|
||||
if (booking) {
|
||||
res.status(201).json({ booking, message: "Booking created successfully" });
|
||||
|
||||
// Create Calendar Event for webhook payload
|
||||
const eventType = await prisma.eventType
|
||||
.findUnique({ where: { id: booking.eventTypeId as number } })
|
||||
|
@ -115,14 +114,14 @@ async function createOrlistAllBookings(
|
|||
language: {
|
||||
translate: fallbackTfunction,
|
||||
locale: "en",
|
||||
}
|
||||
},
|
||||
},
|
||||
attendees: [],
|
||||
location: "",
|
||||
destinationCalendar: null,
|
||||
hideCalendar: false,
|
||||
uid: booking.uid,
|
||||
metadata: {}
|
||||
metadata: {},
|
||||
};
|
||||
|
||||
// Send Webhook call if hooked to BOOKING_CREATED
|
||||
|
|
Loading…
Reference in New Issue