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

normalize fails on nested array of hashes #80

Closed
aac opened this issue Apr 14, 2013 · 1 comment · Fixed by #221
Closed

normalize fails on nested array of hashes #80

aac opened this issue Apr 14, 2013 · 1 comment · Fixed by #221

Comments

@aac
Copy link

aac commented Apr 14, 2013

OAuth::Helper#normalize fails when one of the params is an array of hashes, e.g.

params = {
  'items' => [{'a' => 1}, {'b' => 2}],
}

It calls sort on the Array of Hashes, which fails. normalize_nested_query would work, but isn't called.

@pboling
Copy link
Member

pboling commented Nov 1, 2021

Good catch. Fixing.

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 a pull request may close this issue.

2 participants