Skip to content

Commit

Permalink
fix: modify api to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
bada31 committed Aug 10, 2020
1 parent 3d0e7de commit b1b37eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/kakao.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def mock_call!(*)

private
def raw_info
@raw_info ||= access_token.get('https://kapi.kakao.com/v1/user/me', {}).parsed || {}
@raw_info ||= access_token.get('https://kapi.kakao.com/v2/user/me', {}).parsed || {}
end

def raw_properties
Expand Down

0 comments on commit b1b37eb

Please sign in to comment.