mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
add comment
This commit is contained in:
parent
c49c4bb55a
commit
f456191c73
|
@ -813,12 +813,14 @@ export async function executeWorkflow(
|
|||
);
|
||||
|
||||
if (options.doNotWaitToFinish) {
|
||||
// todo check if not breaking change
|
||||
return { executionId, data: [null] };
|
||||
}
|
||||
|
||||
return await executionPromise;
|
||||
}
|
||||
|
||||
// todo simplify
|
||||
async function startExecution(
|
||||
additionalData: IWorkflowExecuteAdditionalData,
|
||||
options: ExecuteWorkflowOptions,
|
||||
|
|
|
@ -37,6 +37,7 @@ import { BinaryHelpers } from './helpers/binary-helpers';
|
|||
import { RequestHelpers } from './helpers/request-helpers';
|
||||
import { NodeExecutionContext } from './node-execution-context';
|
||||
|
||||
// todo simplify
|
||||
function setMetadata(executeData: IExecuteData, key: string, value: string) {
|
||||
if (!executeData.metadata) {
|
||||
executeData.metadata = {};
|
||||
|
|
Loading…
Reference in a new issue