Skip to content

Commit

Permalink
Merge pull request #756 from appwrite/fix-ruby-null-filter
Browse files Browse the repository at this point in the history
Remove nil values from params
  • Loading branch information
abnegate authored Jan 17, 2024
2 parents ef06843 + 5bdb9c2 commit 6c7e374
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 6c7e374

Please sign in to comment.