mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Execute Workflow Trigger Node): Reintroduce binary data on Workflow Triggers (#15259)
This commit is contained in:
@@ -142,10 +142,11 @@ export function getCurrentWorkflowInputData(this: IExecuteFunctions | ISupplyDat
|
||||
} else {
|
||||
const removedKeys = new Set(schema.filter((x) => x.removed).map((x) => x.displayName));
|
||||
|
||||
const filteredInputData: INodeExecutionData[] = inputData.map((item, index) => ({
|
||||
const filteredInputData: INodeExecutionData[] = inputData.map(({ json, binary }, index) => ({
|
||||
index,
|
||||
pairedItem: { item: index },
|
||||
json: _.pickBy(item.json, (_v, key) => !removedKeys.has(key)),
|
||||
json: _.pickBy(json, (_v, key) => !removedKeys.has(key)),
|
||||
binary,
|
||||
}));
|
||||
|
||||
return filteredInputData;
|
||||
|
||||
Reference in New Issue
Block a user