lib/agx/content/client.rb in agx-0.1.2 vs lib/agx/content/client.rb in agx-0.1.3
- old
+ new
@@ -98,11 +98,10 @@
new_token = @client.client_credentials.get_token(
{
'client_id' => @client_id,
'client_secret' => @client_secret,
'scope' => "referencedata"
- },
- { :header_format => 'Bearer' }
+ }
)
rescue => e
handle_error(e)
end