chore: last played track to now page
This commit is contained in:
parent
d9fdcad1f1
commit
d9c148d08c
4 changed files with 7 additions and 11 deletions
|
@ -9,5 +9,5 @@ export default async function () {
|
|||
type: 'json',
|
||||
}).catch();
|
||||
const resObj = await res;
|
||||
return buildChart(resObj['scrobbles'], resObj['artists'], resObj['albums'])
|
||||
return buildChart(resObj['scrobbles'], resObj['artists'], resObj['albums'], resObj['nowPlaying'])
|
||||
}
|
||||
|
|
Reference in a new issue