From 64b06908c77f144c35a2c39c57f09ee4e89957e6 Mon Sep 17 00:00:00 2001 From: Ronny Birkeli Date: Mon, 7 Nov 2022 18:54:55 +0100 Subject: [PATCH] Add missing event handler for validating subscription. --- src/Altinn.App.Core/Extensions/ServiceCollectionExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Altinn.App.Core/Extensions/ServiceCollectionExtensions.cs b/src/Altinn.App.Core/Extensions/ServiceCollectionExtensions.cs index 52a69a582..99008af15 100644 --- a/src/Altinn.App.Core/Extensions/ServiceCollectionExtensions.cs +++ b/src/Altinn.App.Core/Extensions/ServiceCollectionExtensions.cs @@ -162,6 +162,7 @@ public static bool IsAdded(this IServiceCollection services, Type serviceType) private static void AddEventServices(IServiceCollection services) { + services.AddTransient(); services.AddTransient(); services.TryAddSingleton();