From c6f0eecd1e3b6943c58efd868ed43a11eec4a81c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Mon, 16 Jan 2023 18:36:47 +0100 Subject: [PATCH] Fix CommonStartup start method signature --- src/Connected.Common/CommonStartup.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Connected.Common/CommonStartup.cs b/src/Connected.Common/CommonStartup.cs index 87c5629..b49ed10 100644 --- a/src/Connected.Common/CommonStartup.cs +++ b/src/Connected.Common/CommonStartup.cs @@ -7,6 +7,7 @@ using Connected.Net.Endpoints; using Connected.Net.Server; using Connected.Security.Identity; using Connected.ServiceModel; +using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; [assembly: MicroService(MicroServiceType.Service)] @@ -21,8 +22,7 @@ internal class CommonStartup : Startup services.AddScoped(typeof(IIdentityService), typeof(IdentityService)); services.AddTransient(typeof(IDocumentLocker<,>), typeof(DocumentLocker<,>)); } - - protected override async Task OnInitialize(Dictionary args) + protected override async Task OnInitialize(IConfiguration config) { if (Services is null || Services.GetService() is not IContextProvider provider) return;