From 531c7b659e47e484b8bf13c4f5394d4a5f99b0e9 Mon Sep 17 00:00:00 2001 From: Shashank_kyadari <74113664+gitshasha@users.noreply.github.com> Date: Thu, 19 May 2022 17:52:31 +0530 Subject: [PATCH] Update README.md changed done=>console.log --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1e7a9cd6..16674e19 100644 --- a/README.md +++ b/README.md @@ -357,7 +357,7 @@ spotifyApi.getArtistRelatedArtists('0qeei9KQnptjwb8MgkqEoy') .then(function(data) { console.log(data.body); }, function(err) { - done(err); + console.log(err); }); /* Get Audio Features for a Track */ @@ -365,7 +365,7 @@ spotifyApi.getAudioFeaturesForTrack('3Qm86XLflmIXVm1wcwkgDK') .then(function(data) { console.log(data.body); }, function(err) { - done(err); + console.log(err); }); /* Get Audio Analysis for a Track */ @@ -373,7 +373,7 @@ spotifyApi.getAudioAnalysisForTrack('3Qm86XLflmIXVm1wcwkgDK') .then(function(data) { console.log(data.body); }, function(err) { - done(err); + console.log(err); }); /* Get Audio Features for several tracks */ @@ -381,7 +381,7 @@ spotifyApi.getAudioFeaturesForTracks(['4iV5W9uYEdYUVa79Axb7Rh', '3Qm86XLflmIXVm1 .then(function(data) { console.log(data.body); }, function(err) { - done(err); + console.log(err); });