This commit is contained in:
James Brooks 2015-08-16 13:42:56 +01:00
parent 7c1f27c4a1
commit 5bc7a3e6f7

View File

@ -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) {