2
0
Эх сурвалжийг харах

Update NotificationOption.cs

Fixes serialisation bug
BaronGreenback 5 жил өмнө
parent
commit
12478c7196

+ 8 - 0
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>