Fixed merge conflict errors
parent
3d7863217b
commit
88ab297b8f
|
@ -261,19 +261,6 @@ export async function getAvailableSlots(input: TGetScheduleInputSchema) {
|
|||
})
|
||||
);
|
||||
|
||||
// flattens availability of multiple users
|
||||
const dateOverrides = userAvailability.flatMap((availability) =>
|
||||
availability.dateOverrides.map((override) => ({ userId: availability.user.id, ...override }))
|
||||
);
|
||||
const getAggregateWorkingHoursSpan = tracer.startSpan(
|
||||
"getAggregateWorkingHours",
|
||||
undefined,
|
||||
context.active()
|
||||
);
|
||||
|
||||
const workingHours = getAggregateWorkingHours(userAvailability, eventType.schedulingType);
|
||||
getAggregateWorkingHoursSpan.end();
|
||||
|
||||
const availabilityCheckProps = {
|
||||
eventLength: input.duration || eventType.length,
|
||||
currentSeats,
|
||||
|
|
Loading…
Reference in New Issue