diff --git a/packages/app-store/googlecalendar/lib/CalendarService.ts b/packages/app-store/googlecalendar/lib/CalendarService.ts index ae43959dc0..0a0d4d2aae 100644 --- a/packages/app-store/googlecalendar/lib/CalendarService.ts +++ b/packages/app-store/googlecalendar/lib/CalendarService.ts @@ -98,7 +98,8 @@ export default class GoogleCalendarService implements Calendar { organizer: true, // Tried changing the display name to the user but GCal will not let you do that. It will only display the name of the external calendar. Leaving this in just incase it works in the future. displayName: event.organizer.name, - email: hostExternalCalendarId ?? selectedHostDestinationCalendar?.externalId ?? event.organizer.email, + // We use || instead of ?? here to handle empty strings + email: hostExternalCalendarId || selectedHostDestinationCalendar?.externalId || event.organizer.email, }, ...eventAttendees, ];