diff --git a/pages/api/availability/[user].ts b/pages/api/availability/[user].ts index 2d1c87ca51..d3aa845ed1 100644 --- a/pages/api/availability/[user].ts +++ b/pages/api/availability/[user].ts @@ -31,12 +31,12 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) req.query.dateTo, selectedCalendars ); - const videoBusyTimes = await getBusyVideoTimes( - currentUser.credentials, - req.query.dateFrom, - req.query.dateTo - ); - calendarBusyTimes.push(...videoBusyTimes); + // const videoBusyTimes = await getBusyVideoTimes( + // currentUser.credentials, + // req.query.dateFrom, + // req.query.dateTo + // ); + // calendarBusyTimes.push(...videoBusyTimes); const bufferedBusyTimes = calendarBusyTimes.map((a) => ({ start: dayjs(a.start).subtract(currentUser.bufferTime, "minute").toString(),