Skip to content

Commit 1b8804f

Browse files
committed
Remove nil values from params
1 parent 4c21ce1 commit 1b8804f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/ruby/lib/container/client.rb.twig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ module {{ spec.title | caseUcfirst }}
205205

206206
headers = @headers.merge(headers)
207207

208+
params.compact!
209+
208210
@boundary = "----A30#3ad1"
209211
if method != "GET"
210212
case headers[:'content-type']

0 commit comments

Comments
 (0)