Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated typo in SPOTIFY_CLIENT_SECRET environment variable #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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 spotnik/scripts/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

SPOTIFY_SCOPE = "playlist-modify-private, playlist-modify-public, user-library-read, playlist-read-private, user-library-modify, user-read-recently-played"
SPOTIFY_CLIENT_ID = os.getenv("SPOTIFY_CLIENT_ID")
SPOTIPY_CLIENT_SECRET = os.getenv("SPOTIPY_CLIENT_SECRET")
SPOTIFY_CLIENT_SECRET = os.getenv("SPOTIFY_CLIENT_SECRET")
SPOTIFY_REDIRECT_URL = os.getenv("SPOTIFY_REDIRECT_URL")


Expand All @@ -35,7 +35,7 @@ def oauthStepTwo():
token = oauth.fetch_token(
token_url,
authorization_response=authorization_response,
client_secret=SPOTIPY_CLIENT_SECRET,
client_secret=SPOTIFY_CLIENT_SECRET,
)
print(token)

Expand All @@ -47,7 +47,7 @@ def get_spotify() -> spotipy.Spotify:
scope=SPOTIFY_SCOPE,
redirect_uri="http://localhost:8080",
client_id=SPOTIFY_CLIENT_ID,
client_secret=SPOTIPY_CLIENT_SECRET
client_secret=SPOTIFY_CLIENT_SECRET
)

spotify = spotipy.Spotify(auth_manager=auth_manager)
Expand Down