Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2021-01-25 08:04:44 +01:00
parent 2af8708159
commit 85652c91d0

View File

@@ -1000,12 +1000,12 @@ def get_userid(access_token):
try:
me_json = response.json()
except JSONDecodeError:
except:
return 0
try:
res = me_json['data']['id']
except KeyError:
res = 0
return 0
return res