Skip to content

Commit

Permalink
access_token edit
Browse files Browse the repository at this point in the history
  • Loading branch information
200516bb committed Aug 7, 2023
1 parent 17f194e commit a077297
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/api/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,7 @@ def get(self, code):
},
).json()

return (oauth_token)
kakao_access_token = oauth_token['access_token']
kakao_access_token = oauth_token.access_token
profile_request = requests.get(
"https://kapi.kakao.com/v2/user/me", headers={"Authorization": f"Bearer {kakao_access_token}"}
).json()
Expand Down

0 comments on commit a077297

Please sign in to comment.