diff --git a/app/Handlers/Commands/Metric/AddMetricPointCommandHandler.php b/app/Handlers/Commands/Metric/AddMetricPointCommandHandler.php index 918468b10..14d37e411 100644 --- a/app/Handlers/Commands/Metric/AddMetricPointCommandHandler.php +++ b/app/Handlers/Commands/Metric/AddMetricPointCommandHandler.php @@ -31,8 +31,8 @@ class AddMetricPointCommandHandler $createdAt = $command->createdAt; $data = [ - 'metric_id' => $metric->id, - 'value' => $command->value, + 'metric_id' => $metric->id, + 'value' => $command->value, ]; if ($createdAt) {