refactor(core): Make execution status non-nullable (no-changelog) (#9483)

This commit is contained in:
Iván Ovejero
2024-05-22 16:56:05 +02:00
committed by GitHub
parent 1cb6c12b4f
commit bc219e0499
7 changed files with 32 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ export async function createExecution(
...(workflow !== undefined && { workflowId: workflow.id }),
stoppedAt: stoppedAt ?? new Date(),
waitTill: waitTill ?? null,
status,
status: status ?? 'success',
deletedAt,
});