fix(core): Update subworkflow execution status correctly (#10764)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-09-11 10:39:18 +02:00
committed by GitHub
parent b9d157db40
commit 4f94319cd9
16 changed files with 51 additions and 78 deletions

View File

@@ -31,6 +31,7 @@ import type {
WebhookResponseMode,
Workflow,
WorkflowExecuteMode,
IWorkflowExecutionDataProcess,
} from 'n8n-workflow';
import {
ApplicationError,
@@ -53,7 +54,7 @@ import { NotFoundError } from '@/errors/response-errors/not-found.error';
import { InternalServerError } from '@/errors/response-errors/internal-server.error';
import { UnprocessableRequestError } from '@/errors/response-errors/unprocessable.error';
import type { Project } from '@/databases/entities/project';
import type { IExecutionDb, IWorkflowDb, IWorkflowExecutionDataProcess } from '@/interfaces';
import type { IExecutionDb, IWorkflowDb } from '@/interfaces';
/**
* Returns all the webhooks which should be created for the given workflow