Skip to content

Commit

Permalink
Correct scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Casey Siebel authored and Casey Siebel committed Jan 22, 2022
1 parent c6b660a commit 736108d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/spotify.ts
@@ -1,6 +1,6 @@
// helper for Spotify

import SpotifyWebApi from "spotify-web-api-node/src/spotify-web-api";
import SpotifyWebApi from "spotify-web-api-node";

const scopes = [
"user-read-email",
Expand All @@ -10,8 +10,8 @@ const scopes = [
"streaming",
"user-read-private",
"user-library-read",
// "user-library-modify",
"user-top-read",
// "user-library-modify"
"user-read-playback-state",
"user-modify-playback-state",
"user-read-currently-playing",
Expand All @@ -20,7 +20,7 @@ const scopes = [
].join(",");

const params = {
scopes: scopes,
scope: scopes,
};

const queryParamsString = new URLSearchParams(params);
Expand Down

0 comments on commit 736108d

Please sign in to comment.