Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller-merge
# Conflicts: # src/Umbraco.Infrastructure/HostedServices/ScheduledPublishing.cs # src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs # src/Umbraco.Infrastructure/Scheduling/SchedulerComponent.cs # src/Umbraco.Infrastructure/Scheduling/SchedulerComposer.cs # src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs # src/Umbraco.Tests/Testing/UmbracoTestBase.cs # src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs # src/Umbraco.Web.BackOffice/Runtime/BackOfficeComposer.cs # src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs # src/Umbraco.Web.Common/UmbracoContext/UmbracoContext.cs # src/Umbraco.Web.UI.NetCore/appsettings.json # src/Umbraco.Web/Editors/BackOfficeController.cs # src/Umbraco.Web/Runtime/WebInitialComponent.cs
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Umbraco.Web.HealthCheck.NotificationMethods
|
||||
IOptions<ContentSettings> contentSettings)
|
||||
: base(healthChecksSettings)
|
||||
{
|
||||
var recipientEmail = Settings?["recipientEmail"]?.Value;
|
||||
var recipientEmail = Settings?["RecipientEmail"];
|
||||
if (string.IsNullOrWhiteSpace(recipientEmail))
|
||||
{
|
||||
Enabled = false;
|
||||
@@ -45,7 +45,7 @@ namespace Umbraco.Web.HealthCheck.NotificationMethods
|
||||
|
||||
public string RecipientEmail { get; }
|
||||
|
||||
public override async Task SendAsync(HealthCheckResults results, CancellationToken token)
|
||||
public override async Task SendAsync(HealthCheckResults results)
|
||||
{
|
||||
if (ShouldSend(results) == false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user