Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONize empty payload in add_group #17

Merged
merged 1 commit into from Oct 15, 2022

Conversation

tlloydthwaites
Copy link
Contributor

Using a raw hash instead of JSON payload was causing a header override warning in rest-client.

See rest-client/rest-client#104 for details; because an empty hash is passed directly as the payload, rest-client complains about incompatible headers. Solution is to simply json encode the empty hash.

Using a raw hash instead of JSON payload was causing a header override warning in rest-client.

See rest-client/rest-client#104 for details; because an empty hash is passed directly as the payload, rest-client complains about incompatible headers. Solution is to simply json encode the empty hash.
@looorent
Copy link
Owner

Thanks, @tlloydthwaites .
I will release this as version 1.0.15 in a few minutes.

@looorent looorent merged commit 9ad4e46 into looorent:master Oct 15, 2022
@tlloydthwaites
Copy link
Contributor Author

tlloydthwaites commented Oct 17, 2022 via email

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.

None yet

2 participants