lib/sorcery/providers/xing.rb in sorcery-0.9.0 vs lib/sorcery/providers/xing.rb in sorcery-0.9.1

- old
+ new

@@ -32,10 +32,10 @@ def get_user_hash(access_token) response = access_token.get(user_info_path) auth_hash(access_token).tap do |h| h[:user_info] = JSON.parse(response.body)['users'].first - h[:uid] = user_hash[:user_info]['id'].to_s + h[:uid] = h[:user_info]['id'].to_s end end # calculates and returns the url to which the user should be redirected, # to get authenticated at the external provider's site.