mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-10-01 22:19:35 +02:00
🐛 Fix issue that empty binary data overwrite others on merge
This commit is contained in:
1 parent
228ba36b56
commit
b35d97f778
1 file changed
+1
-1
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user