Scheduling infrastructure for absolutely everyone.
fix: event creation on external office calendar (#3152)
James Vansteenkistef639405c20db
diff --git a/packages/app-store/office365calendar/lib/CalendarService.ts b/packages/app-store/office365calendar/lib/CalendarService.tsindex 2d1827e06d0..3b6629f3eed 100644--- a/packages/app-store/office365calendar/lib/CalendarService.ts+++ b/packages/app-store/office365calendar/lib/CalendarService.ts@@ -42,7 +42,7 @@ export default class Office365CalendarService implements Calendar {? `${event.destinationCalendar.externalId}/`: "";- const response = await fetch(`https://graph.microsoft.com/v1.0/me/calendar/events`, {+ const response = await fetch(`https://graph.microsoft.com/v1.0/me/calendars/${calendarId}events`, {method: "POST",headers: {Authorization: "Bearer " + accessToken,