fix: slot reservation uses wrong event length (#10103)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2023-07-12 12:06:15 -07:00
1 parent 3009f17cb0
commit 8812580f72
1 file changed
+1 -1
@@ -277,7 +277,7 @@ export async function getSchedule(input: TGetScheduleInputSchema) {
);
const workingHours = getAggregateWorkingHours(userAvailability, eventType.schedulingType);
const availabilityCheckProps = {
eventLength: eventType.length,
eventLength: input.duration || eventType.length,
currentSeats,
};