diff --git a/src/auth_helper.py b/src/auth_helper.py index f28dafb..485e955 100644 --- a/src/auth_helper.py +++ b/src/auth_helper.py @@ -29,7 +29,7 @@ def init_oauth(): client_secret=client_secret, store_tokens=store_tokens, access_token=tokens['access_token'], - refresh_token=tokens['access_token'] + refresh_token=tokens['refresh_token'] ) except Exception as e: logging.debug('Fail to load OAuth2 token file', e)