|
|
@ -710,8 +710,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
var user = userId.HasValue && !userId.Equals(Guid.Empty)
|
|
|
|
var user = userId.HasValue && !userId.Equals(Guid.Empty)
|
|
|
|
? _userManager.GetUserById(userId.Value)
|
|
|
|
? _userManager.GetUserById(userId.Value)
|
|
|
|
: null;
|
|
|
|
: null;
|
|
|
|
var dtoOptions = new DtoOptions()
|
|
|
|
var dtoOptions = new DtoOptions { Fields = fields }
|
|
|
|
.AddItemFields(fields)
|
|
|
|
|
|
|
|
.AddClientFields(Request);
|
|
|
|
.AddClientFields(Request);
|
|
|
|
|
|
|
|
|
|
|
|
var program = item as IHasProgramAttributes;
|
|
|
|
var program = item as IHasProgramAttributes;
|
|
|
|