Skip to content

Conversation

@abnegate
Copy link
Member

What does this PR do?

Fix ruby not removing nil values from params before passing to the API

Test Plan

Manual test
Screenshot 2024-01-16 at 18 49 18

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)


headers = @headers.merge(headers)

params.compact!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting this works for key=>value too 👍🏻

@abnegate abnegate merged commit 6c7e374 into 1.5.x Jan 17, 2024
@abnegate abnegate deleted the fix-ruby-null-filter branch January 17, 2024 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants