fix indentation

This commit is contained in:
Damodar Lohani 2022-08-04 06:03:04 +00:00
parent e922c9bc72
commit a0e056abc1

View file

@ -269,12 +269,12 @@ class Usage
$document = $this->database->getDocument('stats', $id);
if ($document->isEmpty()) {
$this->database->createDocument('stats', new Document([
'$id' => $id,
'period' => $period,
'time' => $time,
'metric' => $metric,
'value' => $value,
'type' => $type,
'$id' => $id,
'period' => $period,
'time' => $time,
'metric' => $metric,
'value' => $value,
'type' => $type,
]));
} else {
$this->database->updateDocument(