mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
correct env value
This commit is contained in:
parent
e8b63f8c9d
commit
651ccef328
2 changed files with 2 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ class Database extends Calculator
|
||||||
'time' => $time,
|
'time' => $time,
|
||||||
'metric' => $metric,
|
'metric' => $metric,
|
||||||
'value' => $value,
|
'value' => $value,
|
||||||
'region' => App::getEnv('region', 'default'),
|
'region' => App::getEnv('_APP_REGION', 'default'),
|
||||||
'type' => 2, // these are cumulative metrics
|
'type' => 2, // these are cumulative metrics
|
||||||
]));
|
]));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -316,7 +316,7 @@ class TimeSeries extends Calculator
|
||||||
'metric' => $metric,
|
'metric' => $metric,
|
||||||
'value' => $value,
|
'value' => $value,
|
||||||
'type' => $type,
|
'type' => $type,
|
||||||
'region' => App::getEnv('region', 'default'),
|
'region' => App::getEnv('_APP_REGION', 'default'),
|
||||||
]));
|
]));
|
||||||
} else {
|
} else {
|
||||||
$this->database->updateDocument(
|
$this->database->updateDocument(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue