lib/faastruby-rpc/function.rb in faastruby-rpc-0.2.5 vs lib/faastruby-rpc/function.rb in faastruby-rpc-0.2.6
- old
+ new
@@ -131,10 +131,10 @@
end
private
def call_with(*args)
- execute(req_body: Oj.dump(args), headers: {'Content-Type' => 'application/json', 'Faastruby-Rpc' => 'true'})
+ execute(req_body: Oj.dump(args, mode: :compat), headers: {'Content-Type' => 'application/json', 'Faastruby-Rpc' => 'true'})
end
def wait
@thread.join
end