Update NotificationOption.cs

Fixes serialisation bug
This commit is contained in:
BaronGreenback
2020-07-13 17:54:06 +01:00
committed by GitHub
parent 46f67c9ea4
commit 12478c7196

View File

@@ -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>