The Free Software Media System - Server Backend & API
Clean UpdateDisplayPreferences endpoint
crobibero1c471d585510
diff --git a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs b/Jellyfin.Api/Controllers/DisplayPreferencesController.csindex 2837ea8e87..579b5df5d4 100644--- a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs+++ b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs@@ -74,14 +74,9 @@ namespace Jellyfin.Api.Controllers[FromQuery, BindRequired] string client,[FromBody, BindRequired] DisplayPreferences displayPreferences){- if (!ModelState.IsValid)- {- return BadRequest(ModelState);- }-if (displayPreferencesId == null){- // do nothing.+ // TODO - refactor so parameter doesn't exist or is actually used.}_displayPreferencesRepository.SaveDisplayPreferences(