lib/omniauth/strategies/kakao.rb in omniauth-kakao-bucketplace-0.1.5 vs lib/omniauth/strategies/kakao.rb in omniauth-kakao-bucketplace-0.1.6
- old
+ new
@@ -61,10 +61,10 @@
def raw_info
@raw_info ||= access_token.get('https://kapi.kakao.com/v1/user/me', {}).parsed || {}
end
def raw_properties
- @raw_properties ||= raw_info['properties']
+ @raw_properties ||= raw_info.fetch('properties', {})
end
end
end
end