Skip to content

Conversation

@jamesiarmes
Copy link

Some requests, such as uploading a file to OneDrive, require the contents to be passed as the body of the request. This content is not a hash, but the client currently expects a hash to be converted to JSON.

This check's the body's type before calling transform_keys, and moves the to_json call to the body formatter.

Additionally, I've added a missing require for ostruct.

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.

1 participant