Skip to content

Scheduling infrastructure for absolutely everyone.

Fixed update call

nicolasbd1cb474c56f
diff --git a/lib/calendarClient.ts b/lib/calendarClient.ts
index 7a6b347d0bf..e70919384eb 100644
--- a/lib/calendarClient.ts
+++ b/lib/calendarClient.ts
@@ -246,7 +246,7 @@ const GoogleCalendar = (credential): CalendarApiAdapter => {
}),
updateEvent: (uid: String, event: CalendarEvent) => new Promise((resolve, reject) => {
const calendar = google.calendar({version: 'v3', auth: myGoogleAuth});
- calendar.events.updateEvent({
+ calendar.events.update({
auth: myGoogleAuth,
calendarId: 'primary',
eventId: uid,