feat: tattoo callout

This commit is contained in:
Cory Dransfeldt 2024-07-02 19:40:31 -07:00
parent e6c960b3dc
commit 9bd8e0c348
No known key found for this signature in database
6 changed files with 18 additions and 6 deletions

View file

@ -54,7 +54,7 @@ const fetchGenreMapping = async () => {
export default async function () {
const genreMapping = await fetchGenreMapping()
const artists = await fetchPaginatedData('artists', 'id, mbid, name_string, image, total_plays, country, description, favorite, genres')
const artists = await fetchPaginatedData('artists', 'id, mbid, name_string, image, total_plays, country, description, favorite, tattoo, genres')
const albums = await fetchPaginatedData('albums', 'mbid, name, release_year, total_plays, artist')
const albumsByArtist = albums.reduce((acc, album) => {
if (!acc[album.artist]) acc[album.artist] = []