lib/openbd/client.rb in openbd_api-0.4.4 vs lib/openbd/client.rb in openbd_api-0.4.5
- old
+ new
@@ -55,10 +55,10 @@
end
def post_request(method:, params:, response_class:)
faraday_response = connection.post do |req|
req.url method
- req.body = "isbn=#{normalize_isbns(params[:isbn])}"
+ req.body = "isbn=#{params[:isbn]}"
end
response_class.new(faraday_response)
end
def normalize_isbns(isbns)