🐛 Fix bug with saving executions of unsaved workflows

This commit is contained in:
Jan Oberhauser 2020-07-24 15:16:55 +02:00
parent f64a49318a
commit de8e6f2811

View file

@ -1323,7 +1323,7 @@ class App {
retrySuccessId: result.retrySuccessId ? result.retrySuccessId.toString() : undefined,
startedAt: result.startedAt,
stoppedAt: result.stoppedAt,
workflowId: result.workflowData!.id!.toString(),
workflowId: result.workflowData!.id ? result.workflowData!.id!.toString() : '',
workflowName: result.workflowData!.name,
});
}