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();