aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
diff options
context:
space:
mode:
authorNyanmisaka <nst799610810@gmail.com>2020-12-11 11:35:00 +0800
committerGitHub <noreply@github.com>2020-12-11 11:35:00 +0800
commita79c210c7669dca482a7655ed6118cf7713c2e77 (patch)
treeee6df3fd5d5e0589ac021c165de9ab9982e6ba6a /Jellyfin.Api/Controllers/DisplayPreferencesController.cs
parent0332b7250234370d4f01dc0daad97da862c22997 (diff)
fix typo
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'Jellyfin.Api/Controllers/DisplayPreferencesController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DisplayPreferencesController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
index 9b5c42220..f7bb968f0 100644
--- a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
+++ b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
@@ -189,7 +189,7 @@ namespace Jellyfin.Api.Controllers
{
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);
}
}