mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(Set Node): Preserve binary data by default (#9668)
Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -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 } } };
|
||||
|
||||
Reference in New Issue
Block a user