aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Validators/PeopleValidator.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-11-02 10:29:18 -0700
committercrobibero <cody@robibe.ro>2020-11-02 10:29:18 -0700
commitf8e6edbfeb8c437c2ed0a9c9b44bed0fc105b2c2 (patch)
tree67747afc55cc2ad162e533a6ba4141b65a3e55b8 /Emby.Server.Implementations/Library/Validators/PeopleValidator.cs
parent11d69fd3b1c25927c1046c4a095a3bd9f29fa722 (diff)
parentb1b43b8ad9e6ecc905e1ff4270d4844494ed3039 (diff)
Merge remote-tracking branch 'upstream/master' into query-fields
Diffstat (limited to 'Emby.Server.Implementations/Library/Validators/PeopleValidator.cs')
-rw-r--r--Emby.Server.Implementations/Library/Validators/PeopleValidator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/Validators/PeopleValidator.cs b/Emby.Server.Implementations/Library/Validators/PeopleValidator.cs
index 8275c873a..8739a9e1b 100644
--- a/Emby.Server.Implementations/Library/Validators/PeopleValidator.cs
+++ b/Emby.Server.Implementations/Library/Validators/PeopleValidator.cs
@@ -91,7 +91,7 @@ namespace Emby.Server.Implementations.Library.Validators
var deadEntities = _libraryManager.GetItemList(new InternalItemsQuery
{
- IncludeItemTypes = new[] { typeof(Person).Name },
+ IncludeItemTypes = new[] { nameof(Person) },
IsDeadPerson = true,
IsLocked = false
});