mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
This commit is contained in:
committed by
GitHub
parent
c8ad7ccd72
commit
e8e3d44146
@@ -279,9 +279,11 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u
|
|||||||
if (node.name === options.destinationNode || !node.disabled) {
|
if (node.name === options.destinationNode || !node.disabled) {
|
||||||
let testUrl = '';
|
let testUrl = '';
|
||||||
|
|
||||||
const nodeType = nodeTypesStore.getNodeType(node.type, node.typeVersion);
|
if (node.type === FORM_TRIGGER_NODE_TYPE) {
|
||||||
if (nodeType?.webhooks?.length) {
|
const nodeType = nodeTypesStore.getNodeType(node.type, node.typeVersion);
|
||||||
testUrl = workflowHelpers.getWebhookUrl(nodeType.webhooks[0], node, 'test');
|
if (nodeType?.webhooks?.length) {
|
||||||
|
testUrl = workflowHelpers.getWebhookUrl(nodeType.webhooks[0], node, 'test');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user