Fix refresh token
This commit is contained in:
@@ -29,7 +29,7 @@ def init_oauth():
|
|||||||
client_secret=client_secret,
|
client_secret=client_secret,
|
||||||
store_tokens=store_tokens,
|
store_tokens=store_tokens,
|
||||||
access_token=tokens['access_token'],
|
access_token=tokens['access_token'],
|
||||||
refresh_token=tokens['access_token']
|
refresh_token=tokens['refresh_token']
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.debug('Fail to load OAuth2 token file', e)
|
logging.debug('Fail to load OAuth2 token file', e)
|
||||||
|
|||||||
Reference in New Issue
Block a user