Closed NDoolan360 closed 11 months ago
The CI jobs fail, perhaps you could fix this clippy error by applying its suggestion.
Added in the clippy suggestions, fixing the deprecated DateTime::<Utc>::from_utc
.
Ran clippy locally and got no new complaints.
Merged, thanks for your contribution :)
Description
Fix json parse error: unknown variant
Smartwatch
when calling device() method.Motivation and Context
Fixes https://github.com/ramsayleung/rspotify/issues/440
Type of change
How has this been tested?
I have device with Smartwatch type, calling device() method from my app using rspotify returns error above. Changes from this pull request stop the error occurring and allow the device type 'Smartwatch' to be returned.
Is this change properly documented?
No changes in docs were made. CHANGELOG entry has been added under bug fix for 12.0.1