Apply suggestions from code review

This commit is contained in:
crobibero 2020-08-26 08:23:35 -06:00
parent 8b96881aa1
commit 78ae86b86a

View File

@ -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;
} }