Fixed API call route (#2105)

This commit is contained in:
Joe Au-Yeung 2022-03-10 16:15:45 -05:00 committed by GitHub
parent 0b83133155
commit ec97971e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,