diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-10-17 16:19:57 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-10-17 16:19:57 +0200 |
| commit | 49569ca0a0bf5534301e4e51bc263c73cc275a73 (patch) | |
| tree | 90c14c11a2761d60cf6800cffd24c062cec9b680 /Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs | |
| parent | 51dd3f1e19c3ed77e2bba2aaecdd743ee627bd09 (diff) | |
Use nameof where possible
Diffstat (limited to 'Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs b/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs index d4c8c35e6..f9a3e2c64 100644 --- a/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs +++ b/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs @@ -81,7 +81,7 @@ namespace Emby.Server.Implementations.Library.Validators var deadEntities = _libraryManager.GetItemList(new InternalItemsQuery { - IncludeItemTypes = new[] { typeof(MusicArtist).Name }, + IncludeItemTypes = new[] { nameof(MusicArtist) }, IsDeadArtist = true, IsLocked = false }).Cast<MusicArtist>().ToList(); |
