1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

ignore data without projectInternalId

This commit is contained in:
Damodar Lohani 2022-10-31 07:27:51 +00:00
parent 67113971d9
commit cf5ecd5a62

View file

@ -491,7 +491,9 @@ class TimeSeries extends Calculator
}
$value = (!empty($point['value'])) ? $point['value'] : 0;
if(empty($point['projectInternalId'] ?? null)) {
return;
}
$this->createOrUpdateMetric(
$point['projectInternalId'],
$point['time'],