fix(core): Fix accessor error when running partial execution (#7618)

https://n8nio.sentry.io/issues/3760335947

Followup to #6229
This commit is contained in:
Iván Ovejero 2023-11-06 13:48:13 +01:00 committed by GitHub
parent db56a9ee37
commit 26361dfcd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,7 +212,7 @@ export class WorkflowExecute {
continue;
}
const nodeIncomingData =
runData[connection.node][runIndex]?.data?.[connection.type][connection.index];
runData[connection.node]?.[runIndex]?.data?.[connection.type]?.[connection.index];
if (nodeIncomingData) {
incomingData.push(nodeIncomingData);
}