Fix saving DisplayPreferences
This commit is contained in:
parent
c31b9f5169
commit
60607ab60c
|
@ -84,7 +84,11 @@ namespace Jellyfin.Api.Controllers
|
|||
return BadRequest(ModelState);
|
||||
}
|
||||
|
||||
displayPreferences.Id = displayPreferencesId;
|
||||
if (displayPreferencesId == null)
|
||||
{
|
||||
// do nothing.
|
||||
}
|
||||
|
||||
_displayPreferencesRepository.SaveDisplayPreferences(
|
||||
displayPreferences,
|
||||
userId,
|
||||
|
|
Loading…
Reference in New Issue
Block a user