From c4aa5556108719d9e4f29d5116f80bd0a618c1fa Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Fri, 2 Feb 2024 21:11:27 +0530 Subject: [PATCH] fix: remove check for location (#13493) --- apps/web/pages/api/recorded-daily-video.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/pages/api/recorded-daily-video.ts b/apps/web/pages/api/recorded-daily-video.ts index ef7d40f166..2f61467561 100644 --- a/apps/web/pages/api/recorded-daily-video.ts +++ b/apps/web/pages/api/recorded-daily-video.ts @@ -3,7 +3,6 @@ import { createHmac } from "crypto"; import type { NextApiRequest, NextApiResponse } from "next"; import { z } from "zod"; -import { DailyLocationType } from "@calcom/app-store/locations"; import { getDownloadLinkOfCalVideoByRecordingId } from "@calcom/core/videoClient"; import { sendDailyVideoRecordingEmails } from "@calcom/emails"; import getWebhooks from "@calcom/features/webhooks/lib/getWebhooks"; @@ -182,7 +181,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) { }, }); - if (!booking || !(booking.location === DailyLocationType || booking?.location?.trim() === "")) { + if (!booking) { log.error( "Booking:", safeStringify({