From fa85dcdbbdee167ff5e8d8e191f38d2700c449db Mon Sep 17 00:00:00 2001 From: GalT <39020298+tatarco@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:15:17 +0200 Subject: [PATCH] feat(api): fix compilation issue --- apps/api/src/app/workflows-v2/workflow.controller.e2e.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/api/src/app/workflows-v2/workflow.controller.e2e.ts b/apps/api/src/app/workflows-v2/workflow.controller.e2e.ts index bbad1766ea71..4e65b5f6c362 100644 --- a/apps/api/src/app/workflows-v2/workflow.controller.e2e.ts +++ b/apps/api/src/app/workflows-v2/workflow.controller.e2e.ts @@ -326,7 +326,6 @@ async function updateWorkflowAndValidate( updatedAt: string, updateRequest: UpdateWorkflowDto ): Promise { - console.log('updateRequest:::'.toUpperCase(), JSON.stringify(updateRequest.steps, null, 2)); const updatedWorkflow: WorkflowResponseDto = await updateWorkflowRest(id, updateRequest); const updatedWorkflowWithResponseFieldsRemoved = validateUpdatedWorkflowAndRemoveResponseFields( updatedWorkflow, @@ -584,7 +583,7 @@ function createStep(): StepCreateDto { function buildUpdateRequest(workflowCreated: WorkflowResponseDto): UpdateWorkflowDto { const steps = [createStep()]; - const updateRequest = removeFields(workflowCreated, 'updatedAt', '_id', 'origin') as UpdateWorkflowDto; + const updateRequest = removeFields(workflowCreated, 'updatedAt', '_id', 'origin', 'status') as UpdateWorkflowDto; return { ...updateRequest, name: TEST_WORKFLOW_UPDATED_NAME, steps }; }