removed debug logging

pull/267/head
Malte Delfs 2021-06-18 14:03:31 +02:00
parent 0dce92d4ae
commit d2466440f9
1 changed files with 0 additions and 2 deletions

View File

@ -153,12 +153,10 @@ const MicrosoftOffice365Calendar = (credential): CalendarApiAdapter => {
return Promise.resolve([]);
}
console.log("selectedCalendarIds.length: " + selectedCalendarIds.length)
return (selectedCalendarIds.length == 0
? listCalendars().then(cals => cals.map(e => e.externalId))
: Promise.resolve(selectedCalendarIds).then(x => x)).then((ids: string[]) => {
const urls = ids.map(calendarId => 'https://graph.microsoft.com/v1.0/me/calendars/' + calendarId + '/events' + filter)
console.log("urls", urls)
return Promise.all(urls.map(url => fetch(url, {
method: 'get',
headers: {