Fix album cover

This commit is contained in:
Lynn Smeria 2018-08-27 16:56:52 +02:00
parent 6505e3aff7
commit 1d463642a5
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ const getAlbumInfo = (root, tracks) => ({
artists: collect(tracks, t => t.common.artists || t.common.artist),
bitrate: collect(tracks, t => t.format.bitrate),
trackCount: tracks.length,
cover: tracks[0].coverUrl || null,
cover: tracks[0].cover || null,
tracks,
});