aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Extensions
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2025-03-24 10:07:52 +0000
committerJPVenson <github@jpb.email>2025-03-24 10:07:52 +0000
commitea8f1ffb7c9d47d6ccfadd2e0ab9645f69e2e446 (patch)
tree5bc852da24f41811411aaef977cd7fca42180e56 /Jellyfin.Server.Implementations/Extensions
parent3c2d3ac18b6c4c29c340ea8bb3f1dcafe557904b (diff)
renamed SqLite to Sqlite
Diffstat (limited to 'Jellyfin.Server.Implementations/Extensions')
-rw-r--r--Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs b/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs
index 9bf67118d..6955cf269 100644
--- a/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs
+++ b/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs
@@ -24,7 +24,7 @@ public static class ServiceCollectionExtensions
private static IDictionary<string, JellyfinDbProviderFactory> GetSupportedDbProviders()
{
- var items = new Dictionary<string, JellyfinDbProviderFactory>();
+ var items = new Dictionary<string, JellyfinDbProviderFactory>(StringComparer.InvariantCultureIgnoreCase);
foreach (var providerType in DatabaseProviderTypes())
{
var keyAttribute = providerType.GetCustomAttribute<JellyfinDatabaseProviderKeyAttribute>();
@@ -34,7 +34,7 @@ public static class ServiceCollectionExtensions
}
var provider = providerType;
- items[keyAttribute.DatabaseProviderKey.ToUpperInvariant()] = (services) => (IJellyfinDatabaseProvider)ActivatorUtilities.CreateInstance(services, providerType);
+ items[keyAttribute.DatabaseProviderKey] = (services) => (IJellyfinDatabaseProvider)ActivatorUtilities.CreateInstance(services, providerType);
}
return items;