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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,14 @@ namespace MediaBrowser.Model.Notifications
SendToUsers = Array.Empty<string>(); 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; } public string Type { get; set; }
/// <summary> /// <summary>