Skip to content

Commit 75e9e23

Browse files
committed
use token_response
1 parent f028a12 commit 75e9e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcomfortcloud/authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def _get_new_token(self):
268268
"x-app-timestamp": timestamp,
269269
"x-app-type": "1",
270270
"x-app-version": self._app_version,
271-
"x-cfc-api-key": self._get_api_key(timestamp, self._token["access_token"]),
271+
"x-cfc-api-key": self._get_api_key(timestamp, token_response["access_token"]),
272272
"x-user-authorization-v2": "Bearer " + token_response["access_token"]
273273
},
274274
json={

0 commit comments

Comments
 (0)