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)
? _userManager.GetUserById(userId.Value)
: null;
var dtoOptions = new DtoOptions()
.AddItemFields(fields)
var dtoOptions = new DtoOptions { Fields = fields }
.AddClientFields(Request);
var program = item as IHasProgramAttributes;

Loading…
Cancel
Save