mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
👕 Fix build
This commit is contained in:
parent
292f7db605
commit
26145e3721
|
@ -59,6 +59,7 @@ export class ActiveExecutions {
|
||||||
const execution = ResponseHelper.flattenExecutionData(fullExecutionData);
|
const execution = ResponseHelper.flattenExecutionData(fullExecutionData);
|
||||||
|
|
||||||
const executionResult = await Db.collections.Execution!.save(execution as IExecutionFlattedDb);
|
const executionResult = await Db.collections.Execution!.save(execution as IExecutionFlattedDb);
|
||||||
|
// @ts-ignore
|
||||||
executionId = typeof executionResult.id === "object" ? executionResult.id!.toString() : executionResult.id + "";
|
executionId = typeof executionResult.id === "object" ? executionResult.id!.toString() : executionResult.id + "";
|
||||||
} else {
|
} else {
|
||||||
// Is an existing execution we want to finish so update in DB
|
// Is an existing execution we want to finish so update in DB
|
||||||
|
@ -72,6 +73,7 @@ export class ActiveExecutions {
|
||||||
await Db.collections.Execution!.update(executionId, execution);
|
await Db.collections.Execution!.update(executionId, execution);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
this.activeExecutions[executionId] = {
|
this.activeExecutions[executionId] = {
|
||||||
executionData,
|
executionData,
|
||||||
process,
|
process,
|
||||||
|
@ -79,6 +81,7 @@ export class ActiveExecutions {
|
||||||
postExecutePromises: [],
|
postExecutePromises: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
return executionId;
|
return executionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue