removed 18next rel

This commit is contained in:
Syed Ali Shahbaz committed 2022-06-11 16:54:30 +05:30
1 parent bbe5eba550
commit 110edd7dcc
1 file changed
-3
-3
View File
@@ -1,7 +1,6 @@
import { WebhookTriggerEvents } from "@prisma/client";
import type { NextApiRequest, NextApiResponse } from "next";
import { getTranslation } from "@calcom/lib/server/i18n";
import prisma from "@calcom/prisma";
import { withMiddleware } from "@lib/helpers/withMiddleware";
@@ -98,7 +97,6 @@ async function createOrlistAllBookings(
error,
})
);
const fallbackTfunction = await getTranslation("en", "common");
const evt = {
type: eventType?.title || booking.title,
title: booking.title,
@@ -112,7 +110,6 @@ async function createOrlistAllBookings(
email: "",
timeZone: "",
language: {
translate: fallbackTfunction,
locale: "en",
},
},