mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
ignore data without projectInternalId
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user