mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03: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