From 12478c7196156d8aefdd3061926a9d5cc3ce6a20 Mon Sep 17 00:00:00 2001 From: BaronGreenback Date: Mon, 13 Jul 2020 17:54:06 +0100 Subject: [PATCH] Update NotificationOption.cs Fixes serialisation bug --- MediaBrowser.Model/Notifications/NotificationOption.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MediaBrowser.Model/Notifications/NotificationOption.cs b/MediaBrowser.Model/Notifications/NotificationOption.cs index ea363d9b17..dc8d27baf2 100644 --- a/MediaBrowser.Model/Notifications/NotificationOption.cs +++ b/MediaBrowser.Model/Notifications/NotificationOption.cs @@ -15,6 +15,14 @@ namespace MediaBrowser.Model.Notifications SendToUsers = Array.Empty(); } + public NotificationOption() + { + Type = string.Empty; + DisabledServices = Array.Empty(); + DisabledMonitorUsers = Array.Empty(); + SendToUsers = Array.Empty(); + } + public string Type { get; set; } ///