Skip to content

Commit

Permalink
update readme and fix deezer
Browse files Browse the repository at this point in the history
  • Loading branch information
EldarBorge committed Dec 11, 2024
1 parent e75780f commit 2004cef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ services:

- DEEZER_APP_ID=abc
- DEEZER_APP_SECRET=xyz

- REDIRECT_URI=http://<your server's local IP>:8003
```
<br/>
Expand Down Expand Up @@ -101,4 +103,6 @@ LASTFM_API_KEY=abc

DEEZER_APP_ID=abc
DEEZER_APP_SECRET=xyz

REDIRECT_URI=http://<your server's local IP>:8003
```
2 changes: 1 addition & 1 deletion ultrasonics_api/services/deezer.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def api_deezer_auth_request():

params = {
"app_id": os.environ.get('DEEZER_APP_ID'),
"redirect_uri": "https://ultrasonics-api.herokuapp.com/api/deezer/auth",
"redirect_uri": f"{os.environ.get('REDIRECT_URI')}/api/deezer/auth",
"state": str(uuid4()),
"perms": ",".join([
"basic_access",
Expand Down

0 comments on commit 2004cef

Please sign in to comment.