fds
This commit is contained in:
parent
c0036bceef
commit
36db2c400e
1 changed files with 1 additions and 4 deletions
|
@ -69,10 +69,7 @@ def discord_redirect(v):
|
||||||
x=x.json()
|
x=x.json()
|
||||||
|
|
||||||
|
|
||||||
try:
|
token=x["access_token"]
|
||||||
token=x["access_token"]
|
|
||||||
except KeyError:
|
|
||||||
abort(403)
|
|
||||||
|
|
||||||
|
|
||||||
url="https://discord.com/api/users/@me"
|
url="https://discord.com/api/users/@me"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue