mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
fix: bug with setting metadata
This commit is contained in:
parent
cf5125ed75
commit
e9bbc714f1
|
@ -408,7 +408,10 @@ export class WorkflowExecute {
|
|||
let metaRunData: ITaskMetadata;
|
||||
for (const nodeName of Object.keys(metadata)) {
|
||||
for ([index, metaRunData] of metadata[nodeName].entries()) {
|
||||
runData[nodeName][index].metadata = metaRunData;
|
||||
runData[nodeName][index].metadata = {
|
||||
...(runData[nodeName][index].metadata ?? {}),
|
||||
...metaRunData,
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue