We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Is there way to assign sub object of event to options prop? For example: // event { "eventSubObj": { "key1": "value1" } }
// PostAgent options { "url": "http://www.somesite.com/url", ... "payload": { eventSubObj } ... }
// so that options translates to
{ "url": "http://www.somesite.com/url", ... "payload": { "key1": "value1" } ... }
The text was updated successfully, but these errors were encountered:
You could say "payload": "{{ eventSubObj | as_object }}", I guess.
"payload": "{{ eventSubObj | as_object }}"
Sorry, something went wrong.
Its not working, i got error: " if provided, payload must be a hash or an array".
No branches or pull requests
Hi,
Is there way to assign sub object of event to options prop? For example:
// event
{
"eventSubObj": {
"key1": "value1"
}
}
// PostAgent options
{
"url": "http://www.somesite.com/url",
...
"payload": { eventSubObj }
...
}
// so that options translates to
{
"url": "http://www.somesite.com/url",
...
"payload": {
"key1": "value1"
}
...
}
The text was updated successfully, but these errors were encountered: