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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);