diff --git a/src/Umbraco.Cms.Persistence.EFCore/Compose/EFCoreComposer.cs b/src/Umbraco.Cms.Persistence.EFCore/Compose/EFCoreComposer.cs index bd826f8003a0..12ee4b0585c6 100644 --- a/src/Umbraco.Cms.Persistence.EFCore/Compose/EFCoreComposer.cs +++ b/src/Umbraco.Cms.Persistence.EFCore/Compose/EFCoreComposer.cs @@ -6,5 +6,5 @@ namespace Umbraco.Cms.Persistence.EFCore.Compose; public class EFCoreComposer : IComposer { - public void Compose(IUmbracoBuilder builder) => builder.Services.AddUmbracoEFCore(builder.Config); + public void Compose(IUmbracoBuilder builder) => builder.Services.AddUmbracoEFCore(); } diff --git a/src/Umbraco.Cms.Persistence.EFCore/Extensions/UmbracoEFCoreServiceCollectionExtensions.cs b/src/Umbraco.Cms.Persistence.EFCore/Extensions/UmbracoEFCoreServiceCollectionExtensions.cs index fb0a674a820c..b05d6f3d79e2 100644 --- a/src/Umbraco.Cms.Persistence.EFCore/Extensions/UmbracoEFCoreServiceCollectionExtensions.cs +++ b/src/Umbraco.Cms.Persistence.EFCore/Extensions/UmbracoEFCoreServiceCollectionExtensions.cs @@ -9,10 +9,8 @@ namespace Umbraco.Extensions; public static class UmbracoEFCoreServiceCollectionExtensions { - public static IServiceCollection AddUmbracoEFCore(this IServiceCollection services, IConfiguration configuration, Action? optionsAction = null) + public static IServiceCollection AddUmbracoEFCore(this IServiceCollection services) { - - // services.AddUnique(); services.AddUnique(); return services; }