Jelajahi Sumber

fix typo

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Nyanmisaka 4 tahun lalu
induk
melakukan
a79c210c76
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Jellyfin.Api/Controllers/DisplayPreferencesController.cs

+ 1 - 1
Jellyfin.Api/Controllers/DisplayPreferencesController.cs

@@ -189,7 +189,7 @@ namespace Jellyfin.Api.Controllers
             {
             {
                 if (!Enum.TryParse<ViewType>(displayPreferences.CustomPrefs[key], true, out var type))
                 if (!Enum.TryParse<ViewType>(displayPreferences.CustomPrefs[key], true, out var type))
                 {
                 {
-                    _logger.LogError("Invaild ViewType: {LandingScreenOption}", displayPreferences.CustomPrefs[key]);
+                    _logger.LogError("Invalid ViewType: {LandingScreenOption}", displayPreferences.CustomPrefs[key]);
                     displayPreferences.CustomPrefs.Remove(key);
                     displayPreferences.CustomPrefs.Remove(key);
                 }
                 }
             }
             }