diff --git a/src/spotify.js b/src/spotify.js index ccd9210..85ab2b9 100644 --- a/src/spotify.js +++ b/src/spotify.js @@ -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`; +