Is addToQueue working?
Closed this issue · 1 comments
fabio-C commented
I tried to use addToQueue, inside a Firebase function. But I got an error:
TypeError: Spotify.addToQueue is not a function
Functions seems implemented. So why I got this error?
spotify-web-api-node/src/spotify-web-api.js
Line 960 in be15f1c
I am using this version:
spotify-web-api-node": "^4.0.0
I am calling this function like that:
Spotify.addToQueue(trackUri, { device_id: status.device }).then((data) => {
console.log(data);
}, function (error) {
});
fabio-C commented
Solved upgrading to last version