From 874942e25a357ba996dd9b15d04a2b43ad6199cb Mon Sep 17 00:00:00 2001 From: Claudio Schaad Date: Fri, 10 Apr 2026 22:54:17 +0200 Subject: [PATCH] fix: suppress nullable warning in CalendarSerializer call --- Services/NextcloudCalendarService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/NextcloudCalendarService.cs b/Services/NextcloudCalendarService.cs index c35b009..06fb715 100644 --- a/Services/NextcloudCalendarService.cs +++ b/Services/NextcloudCalendarService.cs @@ -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)