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:
Anirban Singha
2026-02-21 19:38:14 +05:30
committed by GitHub
co-authored by Romit
parent f1ae5f727a
commit 4dbe044ecc
-3
View File
@@ -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") {