[PR #192] [MERGED] Fix auth CI issue #301

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

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/192
Author: @marioortizmanero
Created: 3/7/2021
Status: Merged
Merged: 3/8/2021
Merged by: @ramsayleung

Base: masterHead: fix-auth


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/oauth2.rs (+2 -2)

📄 Description

This fixes the CI issue mentioned in #161. The Spotify API now returns no scope field when using the client credentials (as opposed to an empty array), so adding a default value when deserializing via serde is enough.


🔄 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/192 **Author:** [@marioortizmanero](https://github.com/marioortizmanero) **Created:** 3/7/2021 **Status:** ✅ Merged **Merged:** 3/8/2021 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `fix-auth` --- ### 📝 Commits (1) - [`20531f9`](https://github.com/ramsayleung/rspotify/commit/20531f908ad83f0326f4ad8c7f3ed98625a7b30e) fix auth CI issue ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/oauth2.rs` (+2 -2) </details> ### 📄 Description This fixes the CI issue mentioned in #161. The Spotify API now returns no `scope` field when using the client credentials (as opposed to an empty array), so adding a default value when deserializing via `serde` is enough. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:10 +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#301
No description provided.