feat(Set Node): Preserve binary data by default (#9668)

Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
Elias Meire
2024-06-18 10:32:51 +02:00
committed by GitHub
parent 0524f588f6
commit d1163533a6
10 changed files with 154 additions and 12 deletions

View File

@@ -225,7 +225,7 @@ export async function execute(
newData[name] = value;
}
return composeReturnItem.call(this, i, item, newData, options);
return composeReturnItem.call(this, i, item, newData, options, node.typeVersion);
}
const assignmentCollection = this.getNodeParameter(
@@ -247,7 +247,7 @@ export async function execute(
return [name, value];
}),
);
return composeReturnItem.call(this, i, item, newData, options);
return composeReturnItem.call(this, i, item, newData, options, node.typeVersion);
} catch (error) {
if (this.continueOnFail()) {
return { json: { error: (error as Error).message, pairedItem: { item: i } } };