Fixed API call route (#2105)

docs/contribute-to-app-store
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
1 changed files with 1 additions and 1 deletions

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,