mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
🐛 Fix issue that empty binary data overwrite others on merge
This commit is contained in:
parent
228ba36b56
commit
b35d97f778
|
@ -284,7 +284,7 @@ export class Merge implements INodeType {
|
|||
}
|
||||
|
||||
for (const key of Object.keys(dataInput2[i].binary!)) {
|
||||
newItem.binary[key] = dataInput2[i].binary![key];
|
||||
newItem.binary[key] = dataInput2[i].binary![key] ?? newItem.binary[key];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue