From 1b8804fae13a06a36b0802b4b3af54d2d520323a Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 18 Jan 2024 19:06:56 +1300 Subject: [PATCH] Remove nil values from params --- templates/ruby/lib/container/client.rb.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/ruby/lib/container/client.rb.twig b/templates/ruby/lib/container/client.rb.twig index 4b4892889..b0c872809 100644 --- a/templates/ruby/lib/container/client.rb.twig +++ b/templates/ruby/lib/container/client.rb.twig @@ -205,6 +205,8 @@ module {{ spec.title | caseUcfirst }} headers = @headers.merge(headers) + params.compact! + @boundary = "----A30#3ad1" if method != "GET" case headers[:'content-type']