mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
There can be also NULL people?
This commit is contained in:
parent
75d40e69b5
commit
b830c42fca
@ -2802,6 +2802,7 @@ namespace Emby.Server.Implementations.Library
|
|||||||
|
|
||||||
if (people is not null)
|
if (people is not null)
|
||||||
{
|
{
|
||||||
|
people = people.Where(e => e is not null).ToArray();
|
||||||
_peopleRepository.UpdatePeople(item.Id, people);
|
_peopleRepository.UpdatePeople(item.Id, people);
|
||||||
await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
|
await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user