aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-01-17 21:11:42 +0100
committerGitHub <noreply@github.com>2023-01-17 21:11:42 +0100
commit875359d4573cec90f4eecfe1d08671496de43675 (patch)
treeee007e9e67922b36a9be8aefda9ca7a7052c33a1 /Jellyfin.Server/Program.cs
parent212876b23562f9cf1f5ce7a415f7187d45712c79 (diff)
parentf3e5139cfc05ae0c3968f9b07fabfe8b3d5868e4 (diff)
Merge pull request #9108 from barronpm/efcore-cleanup
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index dded20347..25fe30a39 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -247,7 +247,7 @@ namespace Jellyfin.Server
{
_logger.LogInformation("Running query planner optimizations in the database... This might take a while");
// Run before disposing the application
- var context = await appHost.ServiceProvider.GetRequiredService<IDbContextFactory<JellyfinDb>>().CreateDbContextAsync().ConfigureAwait(false);
+ var context = await appHost.ServiceProvider.GetRequiredService<IDbContextFactory<JellyfinDbContext>>().CreateDbContextAsync().ConfigureAwait(false);
await using (context.ConfigureAwait(false))
{
if (context.Database.IsSqlite())