fix: remove check for location (#13493)

This commit is contained in:
Udit Takkar
2024-02-02 15:41:27 +00:00
committed by GitHub
parent a45d77de51
commit c4aa555610
+1 -2
View File
@@ -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({