fix: suppress nullable warning in CalendarSerializer call

This commit is contained in:
Claudio Schaad 2026-04-10 22:54:17 +02:00
parent c6a3e9d5d9
commit 874942e25a

View file

@ -209,7 +209,7 @@ public class NextcloudCalendarService(
};
vevent.Properties.Add(new Ical.Net.CalendarProperty("X-SHIFT-SCHEDULER", "TRUE"));
calendar.Events.Add(vevent);
return new CalendarSerializer().SerializeToString(calendar);
return new CalendarSerializer().SerializeToString(calendar)!;
}
private static string SanitizeForUid(string name)