From 8aacc2316b15c7626a35c59347374226f0704592 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Fri, 11 Oct 2024 02:29:29 +0300 Subject: [PATCH 1/2] React to the Recipe Steps changes --- .../Deployment/AzureADDeploymentSource.cs | 4 ++-- .../Deployment/MicrosoftAccountDeploymentSource.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs index 57307a74b0b..0cd1ae3dc14 100644 --- a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs @@ -21,8 +21,8 @@ protected override async Task ProcessAsync(AzureADDeploymentStep step, Deploymen result.Steps.Add(new JsonObject { - ["name"] = "Settings", - ["AzureADSettings"] = JObject.FromObject(azureADSettings), + ["name"] = nameof(AzureADSettings), + [nameof(AzureADSettings)] = JObject.FromObject(azureADSettings), }); } } diff --git a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentSource.cs index cc635fab31d..077854d6bfe 100644 --- a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentSource.cs @@ -21,8 +21,8 @@ protected override async Task ProcessAsync(MicrosoftAccountDeploymentStep step, result.Steps.Add(new JsonObject { - ["name"] = "Settings", - ["MicrosoftAccountSettings"] = JObject.FromObject(microsoftAccountSettings), + ["name"] = nameof(MicrosoftAccountSettings), + [nameof(MicrosoftAccountSettings)] = JObject.FromObject(microsoftAccountSettings), }); } } From 1293827633e8c0757638ab05880b5cc05ac228f6 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Fri, 11 Oct 2024 02:39:15 +0300 Subject: [PATCH 2/2] Address feedback --- .../Deployment/AzureADDeploymentSource.cs | 2 +- .../Deployment/MicrosoftAccountDeploymentSource.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs index 0cd1ae3dc14..d7ebe2202a9 100644 --- a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs @@ -22,7 +22,7 @@ protected override async Task ProcessAsync(AzureADDeploymentStep step, Deploymen result.Steps.Add(new JsonObject { ["name"] = nameof(AzureADSettings), - [nameof(AzureADSettings)] = JObject.FromObject(azureADSettings), + ["AzureADSettings"] = JObject.FromObject(azureADSettings), }); } } diff --git a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentSource.cs index 077854d6bfe..ba9222e474c 100644 --- a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentSource.cs @@ -22,7 +22,7 @@ protected override async Task ProcessAsync(MicrosoftAccountDeploymentStep step, result.Steps.Add(new JsonObject { ["name"] = nameof(MicrosoftAccountSettings), - [nameof(MicrosoftAccountSettings)] = JObject.FromObject(microsoftAccountSettings), + ["MicrosoftAccountSettings"] = JObject.FromObject(microsoftAccountSettings), }); } }