Skip to content

Commit

Permalink
additional params field fixed (apache#16161)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsiWilliams committed Aug 10, 2021
1 parent 606a7bf commit 3712ee0
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -344,16 +344,21 @@ function dbReducer(
action.payload.configuration_method ===
CONFIGURATION_METHOD.DYNAMIC_FORM
) {
// convert query into URI params string
query = new URLSearchParams(
action?.payload?.parameters?.query as string,
).toString();

return {
...action.payload,
engine: action.payload.backend,
configuration_method: action.payload.configuration_method,
extra_json: deserializeExtraJSON,
parameters: {
query,
credentials_info: JSON.stringify(
action.payload?.parameters?.credentials_info || '',
),
query,
},
};
}
Expand Down

0 comments on commit 3712ee0

Please sign in to comment.