Merge pull request #117 from calcom/hotfix/prettier-fix

fix prettier
pull/9078/head
Syed Ali Shahbaz 2022-06-12 11:30:23 +05:30 committed by GitHub
commit 4cac1328d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -88,7 +88,6 @@ async function createOrlistAllBookings(
const booking = schemaBookingReadPublic.parse(data);
if (booking) {
// Create Calendar Event for webhook payload
const eventType = await prisma.eventType
.findUnique({ where: { id: booking.eventTypeId as number } })
.then((data) => schemaEventTypeReadPublic.parse(data))
@ -140,7 +139,6 @@ async function createOrlistAllBookings(
await Promise.all(promises);
res.status(201).json({ booking, message: "Booking created successfully" });
} else
(error: Error) => {
console.log(error);