feat: beta scrobble to site
This commit is contained in:
parent
178546935c
commit
05dfeb612e
5 changed files with 40 additions and 22 deletions
|
@ -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'])
|
||||
}
|
||||
|
|
Reference in a new issue