aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.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 /Emby.Server.Implementations/ApplicationHost.cs
parent212876b23562f9cf1f5ce7a415f7187d45712c79 (diff)
parentf3e5139cfc05ae0c3968f9b07fabfe8b3d5868e4 (diff)
Merge pull request #9108 from barronpm/efcore-cleanup
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 3db48e42f..c18796611 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -649,7 +649,7 @@ namespace Emby.Server.Implementations
/// <returns>A task representing the service initialization operation.</returns>
public async Task InitializeServices()
{
- var jellyfinDb = await Resolve<IDbContextFactory<JellyfinDb>>().CreateDbContextAsync().ConfigureAwait(false);
+ var jellyfinDb = await Resolve<IDbContextFactory<JellyfinDbContext>>().CreateDbContextAsync().ConfigureAwait(false);
await using (jellyfinDb.ConfigureAwait(false))
{
if ((await jellyfinDb.Database.GetPendingMigrationsAsync().ConfigureAwait(false)).Any())