Apply suggestions from code review
This commit is contained in:
parent
8b96881aa1
commit
78ae86b86a
|
@ -81,7 +81,7 @@ namespace Jellyfin.Server.Migrations.Routines
|
||||||
foreach (var result in results)
|
foreach (var result in results)
|
||||||
{
|
{
|
||||||
var dto = JsonSerializer.Deserialize<DisplayPreferencesDto>(result[3].ToString(), _jsonOptions);
|
var dto = JsonSerializer.Deserialize<DisplayPreferencesDto>(result[3].ToString(), _jsonOptions);
|
||||||
if (dto is null)
|
if (dto == null)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user