lib/tracker_api/client.rb in tracker_api-0.2.11 vs lib/tracker_api/client.rb in tracker_api-0.2.12
- old
+ new
@@ -188,10 +188,10 @@
params = options[:params] || {}
body = options[:body]
headers = options[:headers]
if (method == :post || method == :put) && options[:body].blank?
- body = Oj.dump(params)
+ body = MultiJson.dump(params)
headers['Content-Type'] = 'application/json'
params = {}
end