Kaynağa Gözat

Apply suggestions from code review

crobibero 4 yıl önce
ebeveyn
işleme
78ae86b86a

+ 1 - 1
Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs

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