diff --git a/src/OutlookGoogleCalendarSync/Google/GoogleCalendar.cs b/src/OutlookGoogleCalendarSync/Google/GoogleCalendar.cs index 19865692..32b26b3d 100644 --- a/src/OutlookGoogleCalendarSync/Google/GoogleCalendar.cs +++ b/src/OutlookGoogleCalendarSync/Google/GoogleCalendar.cs @@ -239,7 +239,7 @@ public Event GetCalendarEntry(String eventId) { try { request = gr.Execute(); EventsResource.ListRequest.EventTypesEnum eventType; - if (Enum.TryParse(request.EventType.Replace("__", ""), true, out eventType)) { + if (Enum.TryParse(request.EventType.Replace("default", "Default__"), true, out eventType)) { if (!permittedEventTypes.Contains(eventType)) { log.Warn($"Non-consumer version of EventType '{request.EventType}' found - excluding."); return null;