mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 16:05:53 +03:00
[GH-ISSUE #20] Error during device listing #9
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kjedamzik on GitHub (Oct 6, 2018).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/20
I get an error when I try to:
The response of
curl -X "GET" "https://api.spotify.com/v1/me/player/devices" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer ***"is:Any idea what went wrong here?
@ramsayleung commented on GitHub (Oct 7, 2018):
It seems there is no such
Unknowntype forDeviceType, you would seegithub.com/samrayleung/rspotify@b0f82028c2/src/spotify/senum.rs (L1218)I am trying to fix this mistake
@ramsayleung commented on GitHub (Oct 7, 2018):
Could you help me test this issue by change dependency to
By now there is no decent mocking framework for Rust, I could not test this
devicefunction with mocked parameter. And then I have no suchspotifydevices, so I need you to help me fix this problem.@kjedamzik commented on GitHub (Oct 7, 2018):
LGTM 👍🏾
You are awesome! Thank you! Works like a charm!
@ramsayleung commented on GitHub (Oct 7, 2018):
You could change the branch to
masterand then waiting for a tag release. If you don't another question, I am going to close this issue