mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix format
This commit is contained in:
1 parent
5d5547c6b9
commit
55cbab6270
1 file changed
+1
-1
@@ -501,7 +501,7 @@ class Usage extends Action
|
||||
}
|
||||
|
||||
protected function createOrUpdateMetric(Database $dbForLogs, string $region, string $metric, int $value)
|
||||
{
|
||||
{
|
||||
foreach ($this->periods as $period => $format) {
|
||||
$time = 'inf' === $period ? null : \date($format, \time());
|
||||
$id = \md5("{$time}_{$period}_{$metric}");
|
||||
|
||||
Reference in new issue
Block a user