mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Forgor a comma and creds
This commit is contained in:
parent
ffb5f4be3d
commit
395bb44661
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue