This commit is contained in:
parent
a7fedae308
commit
8d0c7a351d
@ -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<IPiwigoContext, PiwigoContext>();
|
||||
|
Loading…
Reference in New Issue
Block a user