Update Jellyfin.Api/Controllers/LibraryController.cs

pull/4450/head
Claus Vium 4 years ago committed by GitHub
parent a7b3880d0e
commit 0b954df7c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save