Port 7.7 - WIP
This commit is contained in:
@@ -71,8 +71,8 @@ namespace Umbraco.Web.Scheduling
|
||||
var results = new HealthCheckResults(checks);
|
||||
results.LogResults();
|
||||
|
||||
// Send using registered notification methods
|
||||
foreach (var notificationMethod in _notifications)
|
||||
// Send using registered notification methods that are enabled
|
||||
foreach (var notificationMethod in _notifications.Where(x => x.Enabled))
|
||||
await notificationMethod.SendAsync(results, token);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user