Forgor a comma and creds

This commit is contained in:
Nexus 2024-02-19 11:10:54 +00:00
parent ffb5f4be3d
commit 395bb44661

View file

@ -73,8 +73,8 @@ async def get_access_token(code: str):
"code": code, "code": code,
"redirect_uri": OAUTH_REDIRECT_URI, "redirect_uri": OAUTH_REDIRECT_URI,
}, },
headers={"Content-Type": "application/x-www-form-urlencoded"} headers={"Content-Type": "application/x-www-form-urlencoded"},
auth=(CLIENT_ID, CLIENT_SECRET) auth=(OAUTH_ID, OAUTH_SECRET)
) )
response.raise_for_status() response.raise_for_status()
return response.json() return response.json()