Merge branch 'release/v11.98'
This commit is contained in:
@@ -624,7 +624,11 @@ def do_refresh_token(refreshtoken):
|
|||||||
|
|
||||||
response = s.send(prepped)
|
response = s.send(prepped)
|
||||||
|
|
||||||
token_json = response.json()
|
try:
|
||||||
|
token_json = response.json()
|
||||||
|
except JSONDecodeError:
|
||||||
|
return [None,None,None]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
thetoken = token_json['access_token']
|
thetoken = token_json['access_token']
|
||||||
expires_in = token_json['expires_in']
|
expires_in = token_json['expires_in']
|
||||||
|
|||||||
Reference in New Issue
Block a user