diff --git a/apps/api/v2/src/ee/event-types/event-types_2024_06_14/services/input-event-types.service.ts b/apps/api/v2/src/ee/event-types/event-types_2024_06_14/services/input-event-types.service.ts index 14b90a6879..a932f6b3eb 100644 --- a/apps/api/v2/src/ee/event-types/event-types_2024_06_14/services/input-event-types.service.ts +++ b/apps/api/v2/src/ee/event-types/event-types_2024_06_14/services/input-event-types.service.ts @@ -104,13 +104,6 @@ export class InputEventTypesService_2024_06_14 { } transformInputCreateEventType(inputEventType: CreateEventTypeInput_2024_06_14) { - const defaultLocations: CreateEventTypeInput_2024_06_14["locations"] = [ - { - type: "integration", - integration: "cal-video", - }, - ]; - const { lengthInMinutes, lengthInMinutesOptions, @@ -130,10 +123,11 @@ export class InputEventTypesService_2024_06_14 { } = inputEventType; const confirmationPolicyTransformed = this.transformInputConfirmationPolicy(confirmationPolicy); + const locationsTransformed = locations?.length ? this.transformInputLocations(locations) : undefined; const eventType = { ...rest, length: lengthInMinutes, - locations: this.transformInputLocations(locations || defaultLocations), + locations: locationsTransformed, bookingFields: this.transformInputBookingFields(bookingFields), bookingLimits: bookingLimitsCount ? this.transformInputIntervalLimits(bookingLimitsCount) : undefined, durationLimits: bookingLimitsDuration