Open dmmulroy opened 4 months ago
A change must have been made to the Add Item to Playback Queue api endpoint as it now returns text, just the track id, and this library makes the assumption that all endpoints return valid json. This is causing a SyntaxError to be throw when JSON.parse is called here: https://github.com/spotify/spotify-web-api-ts-sdk/blob/main/src/serialization/DefaultResponseDeserializer.ts#L8
SyntaxError
JSON.parse
same with pausePlayback and startResumePlayback
Can confirm
A change must have been made to the Add Item to Playback Queue api endpoint as it now returns text, just the track id, and this library makes the assumption that all endpoints return valid json. This is causing a
SyntaxError
to be throw whenJSON.parse
is called here: https://github.com/spotify/spotify-web-api-ts-sdk/blob/main/src/serialization/DefaultResponseDeserializer.ts#L8