chore: pull month cart data

This commit is contained in:
Cory Dransfeldt 2024-04-04 17:18:34 -07:00
parent c57386411d
commit 466d7dd6ba
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -5,8 +5,8 @@ export default async function () {
const monthChart = JSON.parse(await readFile('./src/_data/json/scrobbles-month-chart.json', 'utf8'));
const artists = JSON.parse(await readFile('./src/_data/json/artists-map.json', 'utf8'));
const albums = JSON.parse(await readFile('./src/_data/json/albums-map.json', 'utf8'));
console.log(buildChart(monthChart['data'], artists, albums, nowPlaying))
console.log(buildChart(monthChart['data'], artists, albums))
return {
month: buildChart(monthChart['data'], artists, albums, nowPlaying)
month: buildChart(monthChart['data'], artists, albums)
}
}