Skip to content

Commit 3f0b19d

Browse files
monikakusterivicac
authored andcommitted
2514 - client - use key-value structure for inputs
1 parent bad7df5 commit 3f0b19d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

client/src/pages/platform/workflow-editor/components/workflow-inputs/hooks/useWorkflowInputs.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,8 @@ export default function useWorkflowInputs({
207207

208208
saveWorkflowTestConfigurationInputsMutation.mutate({
209209
saveWorkflowTestConfigurationInputsRequest: {
210-
inputs: {
211-
...(workflowTestConfiguration ? workflowTestConfiguration.inputs : {}),
212-
[input.name]: getValues().testValue!,
213-
},
210+
key: input.name,
211+
value: getValues().testValue!,
214212
},
215213
workflowId: workflow.id!,
216214
});

0 commit comments

Comments
 (0)