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:
QuantumGhost
2026-01-30 19:18:49 +08:00
committed by GitHub
parent ba568a634d
commit 90fe9abab7
470 changed files with 2082 additions and 32508 deletions

View File

@ -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,
},
})
},
})
}