ventilaar
/
clim
Archived
1
Fork 0

be more verbose

This commit is contained in:
Ventilaar 2022-04-02 23:00:57 +02:00
parent 85ea999996
commit e9cbcbed42
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class GoogleOID:
r = self.requests.post('https://oauth2.googleapis.com/token', data=data) # exchange code for token
if r.status_code != 200: # if not successful
return {'error': True, 'reason': f'Could not exchange code for access key {r.status_code}'}
return {'error': True, 'reason': f'Could not exchange code for access key {r.text}'}
return {'error': False, 'data': r.json()}