diff --git a/src/Umbraco.Core/Configuration/Models/HealthChecksNotificationSettings.cs b/src/Umbraco.Core/Configuration/Models/HealthChecksNotificationSettings.cs index 6e81c48c7c..30f6380e81 100644 --- a/src/Umbraco.Core/Configuration/Models/HealthChecksNotificationSettings.cs +++ b/src/Umbraco.Core/Configuration/Models/HealthChecksNotificationSettings.cs @@ -39,6 +39,6 @@ public class HealthChecksNotificationSettings /// /// Gets or sets a value for the collection of health checks that are disabled for notifications. /// - public IEnumerable DisabledChecks { get; set; } = - Enumerable.Empty(); + public List DisabledChecks { get; set; } = + new List(); } diff --git a/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs b/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs index 6ae79e9743..638baeb562 100644 --- a/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs +++ b/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs @@ -12,8 +12,8 @@ public class HealthChecksSettings /// /// Gets or sets a value for the collection of healthchecks that are disabled. /// - public IEnumerable DisabledChecks { get; set; } = - Enumerable.Empty(); + public List DisabledChecks { get; set; } = + new List(); /// /// Gets or sets a value for the healthcheck notification settings.