🐛 Fix issue that empty binary data overwrite others on merge

This commit is contained in:
Jan Oberhauser 2022-01-09 10:39:48 +01:00
parent 228ba36b56
commit b35d97f778

View file

@ -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];
}
}