lib/omniauth/strategies/paymium.rb in omniauth-paymium-1.0.7 vs lib/omniauth/strategies/paymium.rb in omniauth-paymium-1.0.8
- old
+ new
@@ -40,10 +40,10 @@
end
def raw_info
access_token.options[:parse] = :json
- @raw_info ||= access_token.get("#{options.client_options.site}/api/v1/user").parsed
+ @raw_info ||= access_token.get("#{options.client_options.site}/api/v1/admin").parsed
end
end
end
end