[PR #60] [CLOSED] Fix tuneable attribute passing for recommendations #217

Closed
opened 2026-02-27 20:23:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/60
Author: @sral
Created: 10/24/2019
Status: Closed

Base: masterHead: fix_tunable_attributes


📝 Commits (1)

  • 0d3173b Fix tuneable attribute passing for recommendations

📊 Changes

1 file changed (+5 additions, -7 deletions)

View changed files

📝 src/spotify/client.rs (+5 -7)

📄 Description

Currently only Values in the payload that contain String will be considered/added
because calling as_str() on Values containing other types return None, I think.

See: https://docs.serde.rs/serde_json/value/enum.Value.html#method.as_str


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/60 **Author:** [@sral](https://github.com/sral) **Created:** 10/24/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix_tunable_attributes` --- ### 📝 Commits (1) - [`0d3173b`](https://github.com/ramsayleung/rspotify/commit/0d3173bc42c49719abfeb9bd259783d13ccfbe68) Fix tuneable attribute passing for recommendations ### 📊 Changes **1 file changed** (+5 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/spotify/client.rs` (+5 -7) </details> ### 📄 Description Currently only Values in the payload that contain String will be considered/added because calling as_str() on Values containing other types return None, I think. See: https://docs.serde.rs/serde_json/value/enum.Value.html#method.as_str --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:23:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#217
No description provided.