aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Extensions
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2023-01-16 12:14:44 -0500
committerPatrick Barron <barronpm@gmail.com>2023-01-16 12:14:44 -0500
commit8479f0f90cd8b7180f45340a59d7122755987859 (patch)
tree71bcb635709876ad992195e002d7fb28d450f891 /Jellyfin.Server.Implementations/Extensions
parent3f66a482069ab98396952292db379e7248cb1166 (diff)
Rename JellyfinDb to JellyfinDbContext
Diffstat (limited to 'Jellyfin.Server.Implementations/Extensions')
-rw-r--r--Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs b/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs
index 05c622931..de64911b4 100644
--- a/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs
+++ b/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs
@@ -29,7 +29,7 @@ public static class ServiceCollectionExtensions
.SkipCachingResults(result =>
result.Value is null || (result.Value is EFTableRows rows && rows.RowsCount == 0)));
- serviceCollection.AddPooledDbContextFactory<JellyfinDb>((serviceProvider, opt) =>
+ serviceCollection.AddPooledDbContextFactory<JellyfinDbContext>((serviceProvider, opt) =>
{
var applicationPaths = serviceProvider.GetRequiredService<IApplicationPaths>();
var loggerFactory = serviceProvider.GetRequiredService<ILoggerFactory>();