Group Methods

This commit is contained in:
BaronGreenback
2021-04-17 11:19:09 +01:00
parent b63f615fd4
commit bb6fddde9a
7 changed files with 8 additions and 8 deletions

View File

@@ -75,7 +75,7 @@ namespace Jellyfin.Server.Migrations.Routines
{
var existingConfigJson = JToken.Parse(File.ReadAllText(oldConfigPath));
return _defaultConfigHistory
.Select(historicalConfigText => JToken.Parse(historicalConfigText))
.Select(JToken.Parse)
.Any(historicalConfigJson => JToken.DeepEquals(existingConfigJson, historicalConfigJson));
}
}