Skip to content

The Free Software Media System - Server Backend & API

Update NotificationOption.cs

BaronGreenback12478c719615
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<string>();
}
+ public NotificationOption()
+ {
+ Type = string.Empty;
+ DisabledServices = Array.Empty<string>();
+ DisabledMonitorUsers = Array.Empty<string>();
+ SendToUsers = Array.Empty<string>();
+ }
+
public string Type { get; set; }
/// <summary>