diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-08-04 14:40:09 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-08-04 14:40:09 +0200 |
| commit | f1f72c3060ed9c8ccd665fb86d8ddfb5e6836056 (patch) | |
| tree | 3fe4319edcc849fc2b72316ddfef951aa9360df5 /Jellyfin.Server/Migrations/MigrationRunner.cs | |
| parent | 008c6a843ec832ec201db5ce8ca30d2d165f2d24 (diff) | |
Minor improvements
Diffstat (limited to 'Jellyfin.Server/Migrations/MigrationRunner.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/MigrationRunner.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Migrations/MigrationRunner.cs b/Jellyfin.Server/Migrations/MigrationRunner.cs index cf938ab8c..0af5cfd61 100644 --- a/Jellyfin.Server/Migrations/MigrationRunner.cs +++ b/Jellyfin.Server/Migrations/MigrationRunner.cs @@ -40,7 +40,7 @@ namespace Jellyfin.Server.Migrations .Select(m => ActivatorUtilities.CreateInstance(host.ServiceProvider, m)) .OfType<IMigrationRoutine>() .ToArray(); - var migrationOptions = ((IConfigurationManager)host.ConfigurationManager).GetConfiguration<MigrationOptions>(MigrationsListStore.StoreKey); + var migrationOptions = host.ConfigurationManager.GetConfiguration<MigrationOptions>(MigrationsListStore.StoreKey); if (!host.ConfigurationManager.Configuration.IsStartupWizardCompleted && migrationOptions.Applied.Count == 0) { |
