[PR #10] [MERGED] Fix credentials error message appearing when using OAuth #182

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

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/10
Author: @oliveroneill
Created: 7/12/2018
Status: Merged
Merged: 7/14/2018
Merged by: @ramsayleung

Base: masterHead: credentials-message-fix


📝 Commits (1)

  • d91e6c8 Fix credentials message appearing when using OAuth

📊 Changes

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

View changed files

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

📄 Description

The build method for does not SpotifyClientCredentials does not consider token_info when printing out the "You need to set your Spotify API credentials" message. I've fixed this now. Let me know what you think.


🔄 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/10 **Author:** [@oliveroneill](https://github.com/oliveroneill) **Created:** 7/12/2018 **Status:** ✅ Merged **Merged:** 7/14/2018 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `credentials-message-fix` --- ### 📝 Commits (1) - [`d91e6c8`](https://github.com/ramsayleung/rspotify/commit/d91e6c82949c8a281f5a7fa459ec8390e809ed1f) Fix credentials message appearing when using OAuth ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/spotify/oauth2.rs` (+2 -2) </details> ### 📄 Description The `build` method for does not `SpotifyClientCredentials` does not consider `token_info` when printing out the "You need to set your Spotify API credentials" message. I've fixed this now. Let me know what you think. --- <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:40 +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#182
No description provided.