Fix build

This commit is contained in:
Bjarke Berg
2023-11-06 20:15:34 +01:00
parent c8dff604a0
commit 3306fe53e8

View File

@@ -79,7 +79,7 @@ public static partial class UmbracoBuilderExtensions
builder.Services.AddSingleton<IUmbracoDatabaseFactory, UmbracoDatabaseFactory>();
builder.Services.AddSingleton(factory => factory.GetRequiredService<IUmbracoDatabaseFactory>().SqlContext);
builder.NPocoMappers().Add<NullableDateMapper>();
builder.PackageMigrationPlans().Add(builder.TypeLoader.GetPackageMigrationPlans);
builder.PackageMigrationPlans().Add(builder.TypeLoader.GetPackageMigrationPlans());
builder.Services.AddSingleton<IRuntimeState, RuntimeState>();
builder.Services.AddSingleton<IRuntime, CoreRuntime>();