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

erlcloud_sm: fix use of jsx #667

Merged
merged 1 commit into from Nov 14, 2020
Merged

erlcloud_sm: fix use of jsx #667

merged 1 commit into from Nov 14, 2020

Conversation

nalundgaard
Copy link
Contributor

Follow up to #645. I missed that I didn't catch this regression when erlcloud_sm was introduced in #654.

This change just adds the eplicit [{return_maps, false}] option to the jsx:decode(...) call to ensure that it comes back in the expected format, regardless of which jsx version the client uses.

cc @paulo-ferraz-oliveira.

Follow up to #645. I missed that I didn't catch this regression when `erlcloud_sm` was introduced in #654.

This change just adds the eplicit `[{return_maps, false}]` option to the `jsx:decode(...)` call to ensure that it comes back in the expected format, regardless of which jsx version the client uses.
@paulo-ferraz-oliveira
Copy link
Contributor

Thanks.

@motobob motobob merged commit 3ce4e6d into master Nov 14, 2020
@motobob motobob deleted the fix_erlcloud_sm_return_maps branch January 4, 2021 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants