lib/tracker_api/client.rb in tracker_api-0.2.9 vs lib/tracker_api/client.rb in tracker_api-0.2.10

- old
+ new

@@ -185,10 +185,10 @@ params = options[:params] || {} body = options[:body] headers = options[:headers] if (method == :post || method == :put) && options[:body].blank? - body = params.to_json + body = Oj.dump(params) headers['Content-Type'] = 'application/json' params = {} end