diff --git a/packages/nodes-base/nodes/EditImage/EditImage.node.ts b/packages/nodes-base/nodes/EditImage/EditImage.node.ts index 40f83f3cf7531..b5eff4169519a 100644 --- a/packages/nodes-base/nodes/EditImage/EditImage.node.ts +++ b/packages/nodes-base/nodes/EditImage/EditImage.node.ts @@ -1383,7 +1383,10 @@ export class EditImage implements INodeType { return reject(error); } - newItem.binary![dataPropertyName as string].data = (await this.helpers.prepareBinaryData(Buffer.from(buffer))).data; + const binaryData = await this.helpers.prepareBinaryData(Buffer.from(buffer)); + newItem.binary![dataPropertyName as string] = { + ...newItem.binary![dataPropertyName as string], ...binaryData + } return resolve(newItem); });