mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
revert: revert human input relevant code (#31766)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -227,18 +227,3 @@ export const useEditInspectorVar = (flowType: FlowType, flowId: string) => {
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
export const useTestEmailSender = () => {
|
||||
return useMutation({
|
||||
mutationKey: [NAME_SPACE, 'test email sender'],
|
||||
mutationFn: async (data: { appID: string, nodeID: string, deliveryID: string, inputs: Record<string, any> }) => {
|
||||
const { appID, nodeID, deliveryID, inputs } = data
|
||||
return post<CommonResponse>(`/apps/${appID}/workflows/draft/human-input/nodes/${nodeID}/delivery-test`, {
|
||||
body: {
|
||||
delivery_method_id: deliveryID,
|
||||
inputs,
|
||||
},
|
||||
})
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user