aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Dto
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-10-17 16:19:57 +0200
committerBond_009 <bond.009@outlook.com>2020-10-17 16:19:57 +0200
commit49569ca0a0bf5534301e4e51bc263c73cc275a73 (patch)
tree90c14c11a2761d60cf6800cffd24c062cec9b680 /Emby.Server.Implementations/Dto
parent51dd3f1e19c3ed77e2bba2aaecdd743ee627bd09 (diff)
Use nameof where possible
Diffstat (limited to 'Emby.Server.Implementations/Dto')
-rw-r--r--Emby.Server.Implementations/Dto/DtoService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index edb8753fd..73502c2c9 100644
--- a/Emby.Server.Implementations/Dto/DtoService.cs
+++ b/Emby.Server.Implementations/Dto/DtoService.cs
@@ -465,7 +465,7 @@ namespace Emby.Server.Implementations.Dto
{
var parentAlbumIds = _libraryManager.GetItemIds(new InternalItemsQuery
{
- IncludeItemTypes = new[] { typeof(MusicAlbum).Name },
+ IncludeItemTypes = new[] { nameof(MusicAlbum) },
Name = item.Album,
Limit = 1
});