From 8d0c7a351d241ba98116f9fd4338311e4ce90282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Fri, 14 Jul 2023 15:41:05 +0200 Subject: [PATCH] fixes extension method --- .../ServiceCollectionExtension.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Piwigo.Client.DependencyInjection/ServiceCollectionExtension.cs b/src/Piwigo.Client.DependencyInjection/ServiceCollectionExtension.cs index b401cdd..73f447c 100644 --- a/src/Piwigo.Client.DependencyInjection/ServiceCollectionExtension.cs +++ b/src/Piwigo.Client.DependencyInjection/ServiceCollectionExtension.cs @@ -8,7 +8,7 @@ namespace Piwigo.Client.DependencyInjection; public static class ServiceCollectionExtension { - public static void AddPiwigoClient(this ServiceCollection services, IPiwigoConfiguration configuration) + public static void AddPiwigoClient(this IServiceCollection services, IPiwigoConfiguration configuration) { services.AddSingleton(configuration); services.AddScoped();