mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Deprecate prepareOutputData (no-changelog) (#7091)
This commit is contained in:
committed by
GitHub
parent
c04a996fb4
commit
6aa7b93473
@@ -460,7 +460,7 @@ export class ApiTemplateIo implements INodeType {
|
||||
}
|
||||
|
||||
if (download) {
|
||||
return this.prepareOutputData(returnData as unknown as INodeExecutionData[]);
|
||||
return [returnData as unknown as INodeExecutionData[]];
|
||||
}
|
||||
}
|
||||
} else if (resource === 'pdf') {
|
||||
@@ -549,7 +549,7 @@ export class ApiTemplateIo implements INodeType {
|
||||
}
|
||||
}
|
||||
if (download) {
|
||||
return this.prepareOutputData(returnData as unknown as INodeExecutionData[]);
|
||||
return [returnData as unknown as INodeExecutionData[]];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user