mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-26 12:07:01 +00:00
Fix saving DisplayPreferences
This commit is contained in:
@@ -84,7 +84,11 @@ namespace Jellyfin.Api.Controllers
|
||||
return BadRequest(ModelState);
|
||||
}
|
||||
|
||||
displayPreferences.Id = displayPreferencesId;
|
||||
if (displayPreferencesId == null)
|
||||
{
|
||||
// do nothing.
|
||||
}
|
||||
|
||||
_displayPreferencesRepository.SaveDisplayPreferences(
|
||||
displayPreferences,
|
||||
userId,
|
||||
|
||||
Reference in New Issue
Block a user