fix(dynamic-data): correct parameters
This commit is contained in:
@@ -26,7 +26,7 @@ export default defineTrigger({
|
|||||||
value: 'listIncomingPhoneNumbers',
|
value: 'listIncomingPhoneNumbers',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'valueType',
|
name: 'parameters.valueType',
|
||||||
value: 'sid',
|
value: 'sid',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@@ -96,8 +96,7 @@ function useDynamicData(stepId: string | undefined, schema: IField) {
|
|||||||
getDynamicData({
|
getDynamicData({
|
||||||
variables: {
|
variables: {
|
||||||
stepId,
|
stepId,
|
||||||
key: computedVariables.key,
|
...computedVariables,
|
||||||
parameters: omit(computedVariables, 'key'),
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user