added print statement
This commit is contained in:
parent
a43479276b
commit
bde73bf535
|
@ -103,7 +103,7 @@ def oauth_redirect():
|
||||||
user_info = requests.get('https://api.github.com/user', headers={
|
user_info = requests.get('https://api.github.com/user', headers={
|
||||||
'Authorization': f'Bearer {token.get("access_token")}'
|
'Authorization': f'Bearer {token.get("access_token")}'
|
||||||
}).json()
|
}).json()
|
||||||
|
print(user_info)
|
||||||
# Save tokens for later use
|
# Save tokens for later use
|
||||||
token_id = save_token(
|
token_id = save_token(
|
||||||
user_info.get('email'), # for inoreader it's userEmail
|
user_info.get('email'), # for inoreader it's userEmail
|
||||||
|
|
Loading…
Reference in New Issue
Block a user