From ba8c7797b309bb346df8bbd3bad97a9be1feb00a Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Tue, 4 Jan 2022 21:01:38 +0200 Subject: [PATCH] fix oops --- composeplaylist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);