Skip to content

Commit 03abaf8

Browse files
authored
Merge pull request #3 from mrtomblue/patch-1
Fixed Api Error
2 parents 724f0f8 + 3086a6d commit 03abaf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/pages/api/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const handler: NextApiHandler = (req, res) => {
1515
const redirectParams = new URLSearchParams({
1616
response_type: "code",
1717
client_id: SPOTIFY_CLIENT_ID,
18-
scope: encodeURIComponent(SPOTIFY_SCOPES.join(" ")),
18+
scope: SPOTIFY_SCOPES.join(" "),
1919
redirect_uri: SPOTIFY_REDIRECT_URI,
2020
state: state,
2121
});

0 commit comments

Comments
 (0)