mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #198] [CLOSED] Added missing parameter from current_user_recently_played() #307
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#307
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?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/198
Author: @hellbound22
Created: 4/9/2021
Status: ❌ Closed
Base:
master← Head:recently_played_after📝 Commits (9)
379655aAdded missing parameters in current_user_recently_played()5c3364eChanged primitive type9b6b7abUpdate Cargo.tomlcabcf8bUpdate the docsa341212Merge branch 'recently_played_after' of https://github.com/hellbound22/rspotify into recently_played_after44b953eMerge branch 'master' of https://github.com/ramsayleung/rspotify into HEAD5a9ed4eUpdated examples55ceca8Fixed lints24fb714Fixed clippy error📊 Changes
5 files changed (+26 additions, -4 deletions)
View changed files
📝
examples/current_user_recently_played.rs(+1 -1)📝
src/client.rs(+15 -2)➕
src/model/enums/.misc.rs.swp(+0 -0)📝
src/model/enums/misc.rs(+9 -0)📝
tests/test_with_oauth.rs(+1 -1)📄 Description
Description
Fix the implementation of
current_user_recently_played()with the missing parameters.Motivation and Context
The Spotify web api of
current_user_recently_played()has the parametersbeforeandafterthat are not implemented in this crate.Dependencies
None
Type of change
How Has This Been Tested?
The OAuth2 test passes when adding the
Noneas the second parameter. Might have to write another test when the Option isSome(_)Also, been using this with success in a project of mine.
Please also list any relevant details for your test configuration
test_with_oauth::test_current_user_recently_played()🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.