prettier and payload fix

This commit is contained in:
Syed Ali Shahbaz
2022-06-10 13:38:45 +05:30
parent 54353f99d1
commit 8339d339a1
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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;
+5 -5
View File
@@ -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: [],