Fixed items can be null saving

This commit is contained in:
JPVenson 2024-11-14 15:23:59 +00:00
parent 5167333602
commit f81d124019

View File

@ -2800,9 +2800,9 @@ namespace Emby.Server.Implementations.Library
return; return;
} }
_peopleRepository.UpdatePeople(item.Id, people);
if (people is not null) if (people is not null)
{ {
_peopleRepository.UpdatePeople(item.Id, people);
await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false); await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
} }
} }