Apply suggestions from code review

pull/3984/head
crobibero 4 years ago
parent 8b96881aa1
commit 78ae86b86a

@ -81,7 +81,7 @@ namespace Jellyfin.Server.Migrations.Routines
foreach (var result in results)
{
var dto = JsonSerializer.Deserialize<DisplayPreferencesDto>(result[3].ToString(), _jsonOptions);
if (dto is null)
if (dto == null)
{
continue;
}

Loading…
Cancel
Save