fix: Correctly save executions that failed when polling as error instead of new (#6192)

This commit is contained in:
Omar Ajoue
2023-05-09 12:58:08 +02:00
committed by GitHub
parent 7d1d1f7872
commit 06948b5ba5

View File

@@ -191,7 +191,7 @@ export async function createErrorExecution(
workflowData,
workflowId: workflow.id,
stoppedAt: new Date(),
status: 'new',
status: 'error',
};
const execution = ResponseHelper.flattenExecutionData(fullExecutionData);