mirror of
https://github.com/MCMi460/3DS-RPC.git
synced 2025-06-18 13:35:34 -04:00
Use correct property name
Oops 😅
This commit is contained in:
parent
51b3de2307
commit
cb5e001613
@ -581,7 +581,7 @@ def consoles():
|
||||
'consoles': [],
|
||||
}
|
||||
try:
|
||||
discord_id = user_from_token(request.cookies['token']).discord_id
|
||||
discord_id = user_from_token(request.cookies['token']).id
|
||||
except Exception as e:
|
||||
if 'invalid token' in str(e):
|
||||
response = make_response(redirect('/'))
|
||||
|
Loading…
Reference in New Issue
Block a user