Skip to content

Commit 77b55f1

Browse files
committed
Fixed everything being fetched
1 parent 34f8598 commit 77b55f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
if(stats) {
2424
// Load API data to cache
2525
26-
for(const song of stats.data.songs.slice(config.songRankCount)) {
26+
for(const song of stats.data.songs.slice(0, config.songRankCount)) {
2727
const artist = await api.queryArtistByName(song.artist);
2828
await api.querySongByName(song.title, artist?.id);
2929
}

0 commit comments

Comments
 (0)