diff --git a/composeplaylist.js b/composeplaylist.js index 8ffc92a..f822952 100644 --- a/composeplaylist.js +++ b/composeplaylist.js @@ -53,7 +53,7 @@ async function readSelection() { await spotifyApi.addTracksToPlaylist(playlistId, uris); } - console.log(operation === 'create' ? 'Created a playlist with' : 'Added', total.length, 'tracks'); + console.log(operation === 'create' ? 'Created a playlist with' : 'Added', total, 'tracks'); } readSelection().catch(console.error);