added print statement

This commit is contained in:
Shailaja Kumari 2024-02-13 22:30:54 +05:30
parent a43479276b
commit bde73bf535
Signed by: shailaja
GPG Key ID: 81C942771BB69898

View File

@ -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