Fixed API call route (#2105)
parent
0b83133155
commit
ec97971e7d
|
@ -35,7 +35,7 @@ export default class Office365CalendarService implements Calendar {
|
||||||
? `${event.destinationCalendar.externalId}/`
|
? `${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",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: "Bearer " + accessToken,
|
Authorization: "Bearer " + accessToken,
|
||||||
|
|
Loading…
Reference in New Issue