$locale / $currency body params transformed to __locale / __currency in POST request body #651
Unanswered
sebastian-meckovski
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When sending
$localeand$currencyas body parameters in a POST request, Swell appears to transform $-prefixed keys to __-prefixed keys before they reach the handler.My function example:
The incoming request body looks like this:
I added a workaround to manually convert it back to $
It's not critical but I'm guessing this is not intentional?
All reactions