refactor: remove unused imports and stale TODO comment from caleventparser.ts (#28096)
* refactor: replace manual provider logic with getAppFromLocationValue * chore: revert changes and remove stale comment --------- Co-authored-by: Romit <85230081+romitg2@users.noreply.github.com>
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
import type { TFunction } from "i18next";
|
||||
import short from "short-uuid";
|
||||
import { v5 as uuidv5 } from "uuid";
|
||||
|
||||
import getLabelValueMapFromResponses from "@calcom/lib/bookings/getLabelValueMapFromResponses";
|
||||
import { Prisma } from "@calcom/prisma/client";
|
||||
import type {
|
||||
AdditionalInformation,
|
||||
AppsStatus,
|
||||
CalendarEvent,
|
||||
CalEventResponses,
|
||||
Person,
|
||||
RecurringEvent,
|
||||
@@ -194,7 +192,6 @@ export const getLocation = (calEvent: {
|
||||
};
|
||||
|
||||
export const getProviderName = (location?: string | null): string => {
|
||||
// TODO: use getAppName from @calcom/app-store
|
||||
if (location && location.includes("integrations:")) {
|
||||
let locationName = location.split(":")[1];
|
||||
if (locationName === "daily") {
|
||||
|
||||
Reference in New Issue
Block a user