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 authored Aug 10, 2021
1 parent 285d2a2 commit f3a016e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
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 f3a016e

Please sign in to comment.