More warning fixes
This commit is contained in:
@@ -886,8 +886,7 @@ namespace Emby.Server.Implementations.Dto
|
||||
//}
|
||||
}
|
||||
|
||||
var hasArtist = item as IHasArtist;
|
||||
if (hasArtist != null)
|
||||
if (item is IHasArtist hasArtist)
|
||||
{
|
||||
dto.Artists = hasArtist.Artists;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user