We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50145d3 commit 8bad13cCopy full SHA for 8bad13c
1 file changed
utils/enlightenAPI_v4.py
@@ -53,7 +53,7 @@ def __refresh_access_token(self):
53
The full web request result of the token refresh
54
'''
55
print(self.__log_time() + "Refreshing access_token...")
56
- url = f'{self.config["api_url"]}/oauth/token?grant_type=refresh_token&refresh_token={self.config["refresh_token"]}'
+ url = f'{self.config["api_url"]}oauth/token?grant_type=refresh_token&refresh_token={self.config["refresh_token"]}'
57
# Enlighten API v4 Quickstart says this should be a GET request, but that seems to be incorrect. POST works.
58
response = requests.post(url, auth=(self.config['app_client_id'], self.config['app_client_secret']))
59
refresh_successful = self.__assert_success(response, False)
0 commit comments