mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
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