aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-11-14 15:23:59 +0000
committerJPVenson <github@jpb.email>2024-11-14 15:23:59 +0000
commitf81d1240193cf0b6920cf0b9a8b880125846241b (patch)
tree49fda7589ddfb5313c6c072e90759b59f06d906e
parent5167333602ec339ba6d3b5453dce16d200fe79db (diff)
Fixed items can be null saving
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index d4331efc7..2d8741fba 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -2800,9 +2800,9 @@ namespace Emby.Server.Implementations.Library
return;
}
- _peopleRepository.UpdatePeople(item.Id, people);
if (people is not null)
{
+ _peopleRepository.UpdatePeople(item.Id, people);
await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
}
}