mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⚡ Set default value for overwrite
This commit is contained in:
parent
fa93496397
commit
b0c6f1cf1b
|
@ -316,7 +316,7 @@ export class Merge implements INodeType {
|
||||||
|
|
||||||
const propertyName1 = this.getNodeParameter('propertyName1', 0) as string;
|
const propertyName1 = this.getNodeParameter('propertyName1', 0) as string;
|
||||||
const propertyName2 = this.getNodeParameter('propertyName2', 0) as string;
|
const propertyName2 = this.getNodeParameter('propertyName2', 0) as string;
|
||||||
const overwrite = this.getNodeParameter('overwrite', 0) as string;
|
const overwrite = this.getNodeParameter('overwrite', 0, 'always') as string;
|
||||||
|
|
||||||
const dataInput2 = this.getInputData(1);
|
const dataInput2 = this.getInputData(1);
|
||||||
if (!dataInput2 || !propertyName1 || !propertyName2) {
|
if (!dataInput2 || !propertyName1 || !propertyName2) {
|
||||||
|
|
Loading…
Reference in a new issue