chore: pull month cart data
This commit is contained in:
parent
c57386411d
commit
466d7dd6ba
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
}
|
Reference in a new issue