Skip to content

Commit

Permalink
Remove nil values from params
Browse files Browse the repository at this point in the history
  • Loading branch information
abnegate committed Jan 16, 2024
1 parent ef06843 commit 5bdb9c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/ruby/lib/container/client.rb.twig
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ module {{ spec.title | caseUcfirst }}

headers = @headers.merge(headers)

params.compact!

@boundary = "----A30#3ad1"
if method != "GET"
case headers[:'content-type']
Expand Down

0 comments on commit 5bdb9c2

Please sign in to comment.