mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
⚡ Change the place where output format is made (#2506)
The router file now correctly returns a `INodeExecutionData[][]` instead of a simple `INodeExecutionData[]` forcing the main node file to correct this.
This commit is contained in:
@@ -26,9 +26,6 @@ export class MattermostV1 implements INodeType {
|
||||
methods = { loadOptions };
|
||||
|
||||
async execute(this: IExecuteFunctions) {
|
||||
// Router returns INodeExecutionData[]
|
||||
// We need to output INodeExecutionData[][]
|
||||
// So we wrap in []
|
||||
return [await router.call(this)];
|
||||
return await router.call(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user