diff --git a/src/Appwrite/Platform/Tasks/CreateInfMetric.php b/src/Appwrite/Platform/Tasks/CreateInfMetric.php index abf50cd65b..49b852ff6f 100644 --- a/src/Appwrite/Platform/Tasks/CreateInfMetric.php +++ b/src/Appwrite/Platform/Tasks/CreateInfMetric.php @@ -385,6 +385,13 @@ class CreateInfMetric extends Action $this->createInfMetric($dbForProject, 'users', $users); } + /** + * @throws Exception\Authorization + * @throws Exception\Structure + * @throws Exception\Restricted + * @throws Exception\Conflict + * @throws Exception + */ private function sessions(Database $dbForProject) { $users = $dbForProject->count('sessions');