fix(core): Fix issue that parameters got lost in some edge cases

This commit is contained in:
Jan Oberhauser
2022-06-11 18:12:04 +02:00
parent eec12f28d6
commit 04f0bf5b65
2 changed files with 34 additions and 7 deletions

View File

@@ -823,7 +823,7 @@ export function getNodeParameters(
Object.keys(propertyValues || {}).forEach((value) => {
returnValue[value] = {};
});
return { [nodeProperties.name]: returnValue };
nodeParameters[nodeProperties.name] = returnValue;
}
if (Object.keys(collectionValues).length !== 0 || returnDefaults) {