perf: Allow bypassing 3rd party calendar busy times (#17492)

* perf: Allow bypassing 3rd party calendar busy times

* Fix typing issues

* Fixed API v1 build

* Another fix for API v1
This commit is contained in:
Keith Williams authored and GitHub committed 2024-11-05 12:31:33 -03:00
1 parent e675ad0c6c
commit ed6d88e30f
8 files changed
+21 -3

No files matched your search

@@ -199,6 +199,7 @@ async function handler(req: NextApiRequest) {
eventTypeId,
userId,
returnDateOverrides: true,
bypassBusyCalendarTimes: false,
});
const team = await prisma.team.findUnique({
where: { id: teamId },
@@ -235,6 +236,7 @@ async function handler(req: NextApiRequest) {
dateTo,
eventTypeId,
returnDateOverrides: true,
bypassBusyCalendarTimes: false,
}),
};
});