Skip to content

Scheduling infrastructure for absolutely everyone.

fix: await unawaited calendar.events.patch call in updateEvent (#27313)

Morgan23067cd8af26
diff --git a/packages/app-store/googlecalendar/lib/CalendarService.ts b/packages/app-store/googlecalendar/lib/CalendarService.ts
index 92e120f564a..dd74f9de271 100644
--- a/packages/app-store/googlecalendar/lib/CalendarService.ts
+++ b/packages/app-store/googlecalendar/lib/CalendarService.ts
@@ -406,7 +406,7 @@ class GoogleCalendarService implements Calendar {
});
if (evt && evt.data.id && evt.data.hangoutLink && event.location === MeetLocationType) {
- calendar.events.patch({
+ await calendar.events.patch({
// Update the same event but this time we know the hangout link
calendarId: selectedCalendar,
eventId: evt.data.id || "",