mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
update type
This commit is contained in:
parent
8aa7486e71
commit
91f1e89201
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class Database extends Calculator
|
|||
'time' => $time,
|
||||
'metric' => $metric,
|
||||
'value' => $value,
|
||||
'type' => 1,
|
||||
'type' => 2, // these are cumulative metrics
|
||||
]));
|
||||
} else {
|
||||
$this->database->updateDocument(
|
||||
|
|
|
|||
Loading…
Reference in a new issue