Scheduling infrastructure for absolutely everyone.
prettier and payload fix
Syed Ali Shahbaz8339d339a1ac
diff --git a/lib/utils/sendPayload.ts b/lib/utils/sendPayload.tsindex 925be7486a5..f40c0ad7436 100644--- a/lib/utils/sendPayload.ts+++ b/lib/utils/sendPayload.ts@@ -26,7 +26,7 @@ const sendPayload = async (triggerEvent: string,createdAt: string,webhook: Pick<Webhook, "subscriberUrl" | "appId" | "payloadTemplate">,- data: CalendarEvent & {+ data: any & {metadata?: { [key: string]: string };rescheduleUid?: string;bookingId?: number;diff --git a/pages/api/bookings/index.ts b/pages/api/bookings/index.tsindex f5748daf67d..7abd8ae5e7e 100644--- a/pages/api/bookings/index.ts+++ b/pages/api/bookings/index.ts@@ -1,14 +1,14 @@-import { getTranslation } from "@calcom/lib/server/i18n";--import type { NextApiRequest, NextApiResponse } from "next";import prisma from "@calcom/prisma";import { WebhookTriggerEvents } from "@prisma/client";+import { getTranslation } from "@calcom/lib/server/i18n";++import type { NextApiRequest, NextApiResponse } from "next";import { withMiddleware } from "@lib/helpers/withMiddleware";+import { BookingResponse, BookingsResponse } from "@lib/types";import sendPayload from "@lib/utils/sendPayload";import getWebhooks from "@lib/utils/webhookSubscriptions";-import { BookingResponse, BookingsResponse } from "@lib/types";import { schemaBookingCreateBodyParams, schemaBookingReadPublic } from "@lib/validations/booking";import { schemaEventTypeReadPublic } from "@lib/validations/event-type";@@ -115,7 +115,7 @@ async function createOrlistAllBookings(timeZone: "",language: {translate: fallbackTfunction,- locale: "en"+ locale: "en",}},attendees: [],