diff --git a/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs b/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs index 21a04fa9756..234bb5dc7ec 100644 --- a/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs +++ b/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs @@ -58,10 +58,10 @@ private static async ValueTask BuildPipelineInternalAsync(this S configure = filter.Configure(configure); } - await ConfigurePipelineAsync(builder); - configure(builder); + await ConfigurePipelineAsync(builder); + var shellPipeline = new ShellRequestPipeline { Next = builder.Build()