mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix issue that empty binary data overwrite others on merge
This commit is contained in:
@@ -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