Set default value for overwrite

This commit is contained in:
Jan Oberhauser 2020-01-19 14:24:44 -06:00
parent fa93496397
commit b0c6f1cf1b

View file

@ -316,7 +316,7 @@ export class Merge implements INodeType {
const propertyName1 = this.getNodeParameter('propertyName1', 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);
if (!dataInput2 || !propertyName1 || !propertyName2) {