fix: now playing track
This commit is contained in:
parent
1d17dc3c5b
commit
525828019d
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "14.1.1",
|
"version": "14.1.2",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -105,7 +105,7 @@ export default async function() {
|
||||||
tracks: aggregateData(recentData, 'track_name', 'track'),
|
tracks: aggregateData(recentData, 'track_name', 'track'),
|
||||||
trackChart: aggregateData(recentData, 'track_name', 'track', false),
|
trackChart: aggregateData(recentData, 'track_name', 'track', false),
|
||||||
}
|
}
|
||||||
results.nowPlaying = results.recent.tracks[0]
|
results.nowPlaying = results.recent.trackChart[0]
|
||||||
|
|
||||||
return results
|
return results
|
||||||
}
|
}
|
Reference in a new issue