mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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!)) {
|
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