refactor(core): Deprecate prepareOutputData (no-changelog) (#7091)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-09-05 12:59:02 +02:00
committed by GitHub
parent c04a996fb4
commit 6aa7b93473
241 changed files with 331 additions and 379 deletions

View File

@@ -1,9 +1,4 @@
import type {
IExecuteFunctions,
INodeExecutionData,
INodeType,
INodeTypeDescription,
} from 'n8n-workflow';
import type { IExecuteFunctions, INodeType, INodeTypeDescription } from 'n8n-workflow';
export class ExecuteWorkflowTrigger implements INodeType {
description: INodeTypeDescription = {
@@ -49,9 +44,7 @@ export class ExecuteWorkflowTrigger implements INodeType {
],
};
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
const items = this.getInputData();
return this.prepareOutputData(items);
async execute(this: IExecuteFunctions) {
return [this.getInputData()];
}
}