mirror of
https://github.com/urosran/cally.git
synced 2025-07-15 09:45:20 +00:00
Syncing improvement
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
export async function fetchMicrosoftCalendarEvents(token, startDate, endDate) {
|
||||
export async function fetchMicrosoftCalendarEvents(token, email, startDate, endDate) {
|
||||
const response = await fetch(
|
||||
`https://graph.microsoft.com/v1.0/me/calendar/calendarView?startDateTime=${startDate}&endDateTime=${endDate}`,
|
||||
{
|
||||
@ -34,6 +34,7 @@ export async function fetchMicrosoftCalendarEvents(token, startDate, endDate) {
|
||||
startDate: startDateTime,
|
||||
endDate: endDateTime,
|
||||
allDay: item.isAllDay,
|
||||
email
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user