Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/spotify.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ export const getTokenFromUrl = () => {
return initial;
}, {});
};
export const loginUrl = `${authEndpoint}?client_id=${clientId}&redirect_uri=${redirectUri}&scopes=${scopes.join(
"%20"
)}&response_type=token&show_dialog=true`; //ascii code for space
// fixed the problem was here, happy coding by Kamal Ezzikouri
export const loginUrl = `${authEndpoint}?client_id=${clientId}&redirect_uri=${redirectUri}&scope=${scopes.join("%20")}&response_type=token&show_dialog=true`;