Prevent invalid query params being enriched

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

View File

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