mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +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);
|
$document = $database->getDocument('stats', $id);
|
||||||
if ($document->isEmpty()) {
|
if ($document->isEmpty()) {
|
||||||
$database->createDocument('stats', new Document([
|
$database->createDocument('stats', new Document([
|
||||||
'$id' => $id,
|
'$id' => $id,
|
||||||
'period' => $period,
|
'period' => $period,
|
||||||
'time' => $time,
|
'time' => $time,
|
||||||
'metric' => $metric,
|
'metric' => $metric,
|
||||||
'value' => $value,
|
'value' => $value,
|
||||||
'type' => $type,
|
'type' => $type,
|
||||||
'region' => $this->region,
|
'region' => $this->region,
|
||||||
]));
|
]));
|
||||||
} else {
|
} else {
|
||||||
$database->updateDocument(
|
$database->updateDocument(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue