Scheduling infrastructure for absolutely everyone.
Fixed API call route (#2105)
Joe Au-Yeungec97971e7d11
diff --git a/apps/web/lib/integrations/calendar/services/Office365CalendarService.ts b/apps/web/lib/integrations/calendar/services/Office365CalendarService.tsindex f3b7a46dc8c..a8480a6e228 100644--- a/apps/web/lib/integrations/calendar/services/Office365CalendarService.ts+++ b/apps/web/lib/integrations/calendar/services/Office365CalendarService.ts@@ -35,7 +35,7 @@ export default class Office365CalendarService implements Calendar {? `${event.destinationCalendar.externalId}/`: "";- const response = await fetch(`https://graph.microsoft.com/v1.0/me/calendar/${calendarId}events`, {+ const response = await fetch(`https://graph.microsoft.com/v1.0/me/calendar/events`, {method: "POST",headers: {Authorization: "Bearer " + accessToken,