We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 475d2ad commit c8f0481Copy full SHA for c8f0481
lib/simple_spark/client.rb
@@ -42,7 +42,7 @@ def call(opts)
42
43
path = "#{@base_path}#{path}"
44
params = { path: path, headers: headers }
45
- params[:body] = body_values.to_json unless body_values.empty?
+ params[:body] = JSON.generate(body_values) unless body_values.empty?
46
params[:query] = query_params unless query_params.empty?
47
48
if @debug
0 commit comments