Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Allow to read calendars ended with google.com

Fernando Barrios91d71d61ae36
diff --git a/lib/calendarClient.ts b/lib/calendarClient.ts
index 7642c72cd34..a90f0037a0a 100644
--- a/lib/calendarClient.ts
+++ b/lib/calendarClient.ts
@@ -142,14 +142,11 @@ const GoogleCalendar = (credential) => {
calendar.calendarList
.list()
.then(cals => {
- const items = cals.data.items.filter(
- item => !/calendar.google.com/.test(item.id)
- );
calendar.freebusy.query({
requestBody: {
timeMin: dateFrom,
timeMax: dateTo,
- items: items
+ items: cals.data.items
}
}, (err, apires) => {
if (err) {