From 7423a5e7466d6d911663ad76518317d628fc3062 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 30 Mar 2024 22:13:54 -0700 Subject: [PATCH] chore: formatting --- src/_data/helpers/music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_data/helpers/music.js b/src/_data/helpers/music.js index 97b2310d..23ab5b6c 100644 --- a/src/_data/helpers/music.js +++ b/src/_data/helpers/music.js @@ -55,7 +55,7 @@ export const buildChart = (tracks, artists, albums) => { if (!albumsData[track['album']]) { albumsData[track['album']] = { title: track['album'], - artist: track['artist'], + artist: artistCapitalization(track['artist']), plays: 1, mbid: albums[albumSanitizedKey(track['album'])]?.['mbid'] || '', url: albums[albumSanitizedKey(track['album'])]?.['url'] || `https://musicbrainz.org/taglookup/index?tag-lookup.artist=${track['artist'].replace(/\s+/g, '+')}&tag-lookup.release=${track['album'].replace(/\s+/g, '+')}`,