mirror of
https://github.com/appwrite/appwrite
synced 2026-05-21 16:08:22 +00:00
chore: fixed indentation
This commit is contained in:
parent
c2e5849c49
commit
7efecbca8b
1 changed files with 7 additions and 7 deletions
|
|
@ -432,13 +432,13 @@ class TimeSeries extends Calculator
|
|||
$document = $database->getDocument('stats', $id);
|
||||
if ($document->isEmpty()) {
|
||||
$database->createDocument('stats', new Document([
|
||||
'$id' => $id,
|
||||
'period' => $period,
|
||||
'time' => $time,
|
||||
'metric' => $metric,
|
||||
'value' => $value,
|
||||
'type' => $type,
|
||||
'region' => $this->region,
|
||||
'$id' => $id,
|
||||
'period' => $period,
|
||||
'time' => $time,
|
||||
'metric' => $metric,
|
||||
'value' => $value,
|
||||
'type' => $type,
|
||||
'region' => $this->region,
|
||||
]));
|
||||
} else {
|
||||
$database->updateDocument(
|
||||
|
|
|
|||
Loading…
Reference in a new issue