feat: beta scrobble to site

This commit is contained in:
Cory Dransfeldt 2024-03-30 21:51:12 -07:00
parent 178546935c
commit 05dfeb612e
No known key found for this signature in database
5 changed files with 40 additions and 22 deletions

View file

@ -9,9 +9,5 @@ export default async function () {
type: 'json',
}).catch();
const resObj = await res;
return {
charts: buildChart(resObj['scrobbles']),
artists: resObj['artists'],
albums: resObj['albums']
}
return buildChart(resObj['scrobbles'], resObj['artists'], resObj['albums'])
}