mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
fix: Execute method should be assigned to a Routing node even if it has webhook defined (#13910)
This commit is contained in:
@@ -1018,10 +1018,6 @@ export class WorkflowExecute {
|
||||
private getCustomOperation(node: INode, type: INodeType) {
|
||||
if (!type.customOperations) return undefined;
|
||||
|
||||
if (type.execute) {
|
||||
throw new UnexpectedError('Node type cannot have both customOperations and execute defined');
|
||||
}
|
||||
|
||||
if (!node.parameters) return undefined;
|
||||
|
||||
const { customOperations } = type;
|
||||
|
||||
Reference in New Issue
Block a user