pring log
This commit is contained in:
parent
94b3d521d4
commit
6742398d89
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ def login_as_client_credentials():
|
||||||
auth=auth)
|
auth=auth)
|
||||||
|
|
||||||
auth_data = response.json()
|
auth_data = response.json()
|
||||||
|
|
||||||
|
print(auth_data)
|
||||||
|
|
||||||
if 'access_token' in auth_data:
|
if 'access_token' in auth_data:
|
||||||
auth_data['created_at'] = time.time()
|
auth_data['created_at'] = time.time()
|
||||||
cache.set('wallet_access_token', auth_data, timeout=auth_data.get('expires_in')-5)
|
cache.set('wallet_access_token', auth_data, timeout=auth_data.get('expires_in')-5)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue