About tiles

This commit is contained in:
James Barnsley
2017-02-08 20:05:37 +13:00
parent 1239895e88
commit 8891bb0a8e
4 changed files with 80 additions and 32 deletions

View File

@ -44,7 +44,10 @@ export function getArtist( uri, artist, mbid = false ){
key: uri,
artist: {
images: response.artist.image,
bio: response.artist.bio
bio: response.artist.bio,
listeners: parseInt(response.artist.stats.listeners),
play_count: parseInt(response.artist.stats.playcount),
on_tour: response.artist.stats.ontour
}
});
}