removed 18next rel

pull/9078/head
Syed Ali Shahbaz 2022-06-11 16:54:30 +05:30
parent bbe5eba550
commit 110edd7dcc
1 changed files with 0 additions and 3 deletions

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",
},
},