Temporarily disable checking video busy times
parent
47d28756b6
commit
9844cf92a8
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue