brim-borium / spotify_sdk

Flutter Package to connect the spotify sdk
https://pub.dev/packages/spotify_sdk
Apache License 2.0
143 stars 81 forks source link

Fix queue endpoint for web #167

Closed banool closed 2 years ago

banool commented 2 years ago

Tested with the example code as working.

Before:

queueTrack failed with: DioError [DioErrorType.response]: Http status error [502]

Now it queues correctly.

See the docs: https://developer.spotify.com/documentation/web-api/reference/#/operations/add-to-queue.

fotiDim commented 2 years ago

Thanks for the fix. Let's also wait for an additional review from @brim-borium or @itsMatoosh.

banool commented 2 years ago

Could we please land this? I'm trying to push the MVP of something I'm working on and this is one step closer to the web deployment working (though it's still a long way off, a la https://github.com/brim-borium/spotify_sdk/issues/166).

fotiDim commented 2 years ago

@banool there you go