Fix inconsistency between automation run and run log statuses

[MAILPOET-5568]
This commit is contained in:
Jan Jakes
2023-08-31 14:49:17 +02:00
committed by Aschepikov
parent d7addd8e55
commit d8afb42d89
4 changed files with 7 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ class StepStatisticController {
public function getFlowStatistics(Automation $automation, Query $query): array {
$statistics = $this->automationRunLogStorage->getAutomationRunStatisticsForAutomationInTimeFrame(
$automation->getId(),
AutomationRunLog::STATUS_COMPLETED,
AutomationRunLog::STATUS_COMPLETE,
$query->getAfter(),
$query->getBefore()
);