JesseVelden / Node-Spotify-Playlist

Node.js - Spotify Playlist Data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spotify-playlist is incorrectly throwing error

paleite opened this issue · comments

This throws an error where it shouldn't:

`
import Spotify from 'spotify-playlist'

Spotify.playlist('billboard.com', '6UeSakyzhiEt4NB3UAd6NQ', (err, result) => {
if (err) {
if (err === 'Result:') {
throw Error('spotify-playlist is incorrectly throwing error')
}

console.error(err)

}
})
`

This issue has been fixed.

Thanks, works perfectly now