diff --git a/lib/validations/webhook.ts b/lib/validations/webhook.ts index f523c4c71e..1997bdbb3e 100644 --- a/lib/validations/webhook.ts +++ b/lib/validations/webhook.ts @@ -1,8 +1,9 @@ import { z } from "zod"; -import { _WebhookModel as Webhook } from "@calcom/prisma/zod"; import { WebhookTriggerEvents } from "@calcom/prisma/client"; +import { _WebhookModel as Webhook } from "@calcom/prisma/zod"; + export const WEBHOOK_TRIGGER_EVENTS = [ WebhookTriggerEvents.BOOKING_CANCELLED, WebhookTriggerEvents.BOOKING_CREATED, @@ -31,9 +32,7 @@ export const schemaWebhookCreateParams = z }) .strict(); -export const schemaWebhookCreateBodyParams = schemaWebhookBaseBodyParams.merge( - schemaWebhookCreateParams -); +export const schemaWebhookCreateBodyParams = schemaWebhookBaseBodyParams.merge(schemaWebhookCreateParams); export const schemaWebhookEditBodyParams = schemaWebhookBaseBodyParams.merge( z.object({