mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
This commit is contained in:
parent
c8ad7ccd72
commit
e8e3d44146
|
@ -279,9 +279,11 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u
|
|||
if (node.name === options.destinationNode || !node.disabled) {
|
||||
let testUrl = '';
|
||||
|
||||
const nodeType = nodeTypesStore.getNodeType(node.type, node.typeVersion);
|
||||
if (nodeType?.webhooks?.length) {
|
||||
testUrl = workflowHelpers.getWebhookUrl(nodeType.webhooks[0], node, 'test');
|
||||
if (node.type === FORM_TRIGGER_NODE_TYPE) {
|
||||
const nodeType = nodeTypesStore.getNodeType(node.type, node.typeVersion);
|
||||
if (nodeType?.webhooks?.length) {
|
||||
testUrl = workflowHelpers.getWebhookUrl(nodeType.webhooks[0], node, 'test');
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue