Merge pull request #7634 from neilsb/patch-1

Correct LocalTrailerCount in API

(cherry picked from commit fcb65ac38d)
Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
Cody Robibero 2022-04-21 14:26:17 -06:00 committed by crobibero
parent 2e3c5ed346
commit 8568913df0

View File

@ -1094,7 +1094,7 @@ namespace Emby.Server.Implementations.Dto
{
if (item is IHasTrailers hasTrailers)
{
dto.LocalTrailerCount = hasTrailers.GetTrailerCount();
dto.LocalTrailerCount = hasTrailers.LocalTrailers.Count;
}
else
{