ramsayleung / rspotify

Spotify Web API SDK implemented on Rust
MIT License
639 stars 123 forks source link

Update DeviceType to fix json parse error: unknown variant `STB` #384

Closed dzubybb closed 1 year ago

dzubybb commented 1 year ago

Description

Fix json parse error: unknown variant STB when calling device() method.

Motivation and Context

Fixes #383

Type of change

Please delete options that are not relevant.

How has this been tested?

I have device with Stb type, calling device() method from spotifyd returns error above. Adding lines from this pull request fixes the error.

Is this change properly documented?

No changes in documentation were made.

ramsayleung commented 1 year ago

@dzubybb Thanks for your contribution, would you like to update the CHANGELOG.md to include this modification :)

dzubybb commented 1 year ago

@dzubybb Thanks for your contribution, would you like to update the CHANGELOG.md to include this modification :)

No problemo, done :)