fetchCalendars
fetchCalendars
get all calendars of the passed in CALDAV account
const calendars = await fetchCalendars({
account,
headers: {
authorization: 'Basic x0C9uFWd9Vz8OwS0DEAtkAlj',
},
});
Arguments
account
DAVAccountheader
request headers
Return Value
array of DAVCalendar of the account
Behavior
use PROPFIND
to get all the basic info about calendars on certain account