spotify/web-api-examples

[About version #45] How to get the data printed in the console, like in master version?

Opened this issue · 0 comments

Working with pull #45 and I want to get the data printed in json format in the console, just like it's done in master. I understand that it's done by console.log(response.data); but it returns
{ access_token: 'blah blah blah', token_type: 'Bearer', expires_in: 3600, refresh_token: 'blah blah blah', scope: 'playlist-read-private user-read-email user-read-private' }

so I'm probably writing the console.log in the wrong place, but I can't figure out where I should. Any help?