Merge pull request #4833 from Ullmie02/similar-fix

Fix similar items endpoint for movies and TV
This commit is contained in:
Claus Vium 2020-12-21 00:14:07 +01:00 committed by GitHub
commit c90c382e2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -742,8 +742,6 @@ namespace Jellyfin.Api.Controllers
{
Limit = limit,
IncludeItemTypes = includeItemTypes.ToArray(),
IsMovie = isMovie,
IsSeries = isSeries,
SimilarTo = item,
DtoOptions = dtoOptions,
EnableTotalRecordCount = !isMovie ?? true,