mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix saving DisplayPreferences
This commit is contained in:
parent
c31b9f5169
commit
60607ab60c
@ -84,7 +84,11 @@ namespace Jellyfin.Api.Controllers
|
|||||||
return BadRequest(ModelState);
|
return BadRequest(ModelState);
|
||||||
}
|
}
|
||||||
|
|
||||||
displayPreferences.Id = displayPreferencesId;
|
if (displayPreferencesId == null)
|
||||||
|
{
|
||||||
|
// do nothing.
|
||||||
|
}
|
||||||
|
|
||||||
_displayPreferencesRepository.SaveDisplayPreferences(
|
_displayPreferencesRepository.SaveDisplayPreferences(
|
||||||
displayPreferences,
|
displayPreferences,
|
||||||
userId,
|
userId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user