diff --git a/app/Handlers/Commands/Metric/AddMetricPointCommandHandler.php b/app/Handlers/Commands/Metric/AddMetricPointCommandHandler.php index 0f6ea677..962b1623 100644 --- a/app/Handlers/Commands/Metric/AddMetricPointCommandHandler.php +++ b/app/Handlers/Commands/Metric/AddMetricPointCommandHandler.php @@ -28,7 +28,7 @@ class AddMetricPointCommandHandler public function handle(AddMetricPointCommand $command) { $metric = $command->metric; - $createdAt = $command->createdAt; + $createdAt = $command->created_at; $data = [ 'metric_id' => $metric->id,