Update music_assistant/server/providers/deezer/__init__.py
authorJonathan <jonathan@bangert.dk>
Thu, 10 Aug 2023 19:57:35 +0000 (21:57 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Aug 2023 19:57:35 +0000 (21:57 +0200)
Co-authored-by: micha91 <michael.harbarth@gmx.de>
music_assistant/server/providers/deezer/__init__.py

index 6f361a90fa81c42cb50c5b679e129b6c7fdfb9a7..a72b357b3aad96b1c04951ce52c1aabefc362945 100644 (file)
@@ -98,7 +98,7 @@ async def update_access_token(
     """Update the access_token."""
     response = await http_session.post(
         "https://connect.deezer.com/oauth/access_token.php",
-        json={"code": code, "app_id": app_id, "secret": app_secret},
+        params={"code": code, "app_id": app_id, "secret": app_secret},
         ssl=False,
     )
     if response.status != 200: