corrected typo
This commit is contained in:
parent
3b86441259
commit
67a4d180e0
|
@ -37,7 +37,7 @@ def authorize(request):
|
|||
try:
|
||||
token = oauth.discord.authorize_access_token(request)
|
||||
except:
|
||||
bad_request(request, "Connection refused")
|
||||
return bad_request(request, "Connection refused")
|
||||
response = oauth.discord.get('users/@me', token=token)
|
||||
response = response.json()
|
||||
discord_id = response['id']
|
||||
|
|
Loading…
Reference in New Issue