Skip to content

Commit

Permalink
Get 50 instead of 10 top tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmerz authored and izayl committed Dec 23, 2022
1 parent 4063a93 commit 302d865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -50,7 +50,7 @@ async function updateTopTracks(json) {
if (!tracks.length) return

const lines = []
for (let index = 0; index < Math.min(tracks.length, 10); index++) {
for (let index = 0; index < Math.min(tracks.length, 50); index++) {
let { name, artist } = tracks[index]
name = truncate(name, 25)
artist = truncate(artist, 19)
Expand Down

0 comments on commit 302d865

Please sign in to comment.