Prevent invalid query params being enriched

This commit is contained in:
Andrew Kingston 2021-01-21 13:45:05 +00:00
parent c9d27603ea
commit 3621bcf1de
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ const navigationHandler = action => {
const queryExecutionHandler = async (action, context) => { const queryExecutionHandler = async (action, context) => {
const { datasourceId, queryId, queryParams } = action.parameters const { datasourceId, queryId, queryParams } = action.parameters
const enrichedQueryParameters = enrichDataBindings(queryParams, context) const enrichedQueryParameters = enrichDataBindings(queryParams || {}, context)
await executeQuery({ await executeQuery({
datasourceId, datasourceId,
queryId, queryId,