diff --git a/src/Lombiq.OSOCE.Web/Program.cs b/src/Lombiq.OSOCE.Web/Program.cs index ad05149ed..d35b7a69c 100644 --- a/src/Lombiq.OSOCE.Web/Program.cs +++ b/src/Lombiq.OSOCE.Web/Program.cs @@ -16,10 +16,11 @@ // create UI tests check out the project. builder.Services .AddSingleton(configuration) - .AddOrchardCoreApplicationInsightsTelemetry(configuration) .AddOrchardCms(orchardCoreBuilder => { - orchardCoreBuilder.ConfigureFeaturesGuard( + orchardCoreBuilder + .AddOrchardCoreApplicationInsightsTelemetry(builder.Services, configuration) + .ConfigureFeaturesGuard( new Dictionary> { ["OrchardCore.Twitter"] = new[] { "Lombiq.UIKit", "Lombiq.ChartJs" },