Mario Wolf
08/24/2023, 2:04 PM"correlation_id": "{{lookup request.query 'property.correlation_id'}}"
In the response of the GET localhost:8082/nevisidm/api/core/v1/100/users?property.correlation_id=70ffb498-bda3-42af-889a-867156e151f6
I receive instead of the ID the following:
"correlation_id": "{property.correlation_id=70ffb498-bda3-42af-889a-867156e151f6}"
. There is these brackets {} and the prefix property.correlation_id=
I want to get rid of.Tom
08/24/2023, 2:49 PMlookup
helper, in that it tries to resolve the query param key as if addressing a nested object.
Here’s a workaround:
{{#each request.query}}{{#eq @key 'property.correlation_id'}}{{{this}}}{{/eq}}{{/each}}
Mario Wolf
08/24/2023, 2:51 PM