Skip to content

Commit

Permalink
Fix upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Feb 19, 2024
1 parent 5b2316d commit 2ff25c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TalentBlazor/Configure.AutoQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public void Configure(IWebHostBuilder builder) => builder
.ConfigureServices(services => {
// Enable Audit History
services.AddSingleton<ICrudEvents>(c =>
new OrmLiteCrudEvents(c.Resolve<IDbConnectionFactory>()));
new OrmLiteCrudEvents(c.GetRequiredService<IDbConnectionFactory>()));
services.AddPlugin(new AutoQueryDataFeature());
services.AddPlugin(new AutoQueryFeature
{
Expand Down

0 comments on commit 2ff25c9

Please sign in to comment.