Merge pull request #9103 from appwrite/fix-usage-payload-bug

Usage payload debug
This commit is contained in:
Christy Jacob 2024-12-12 23:31:58 +04:00 committed by GitHub
commit 06adb3bcab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 9 deletions

View file

@ -63,8 +63,8 @@ class Usage extends Action
$project = new Document($document);
if (empty($project->getAttribute('database'))) {
var_dump(1);
var_dump($payload);
return;
}
$projectId = $project->getInternalId();
@ -81,10 +81,6 @@ class Usage extends Action
);
}
if (empty($project->getAttribute('database'))) {
var_dump(2);
var_dump($payload);
}
$this->stats[$projectId]['project'] = [
'$id' => $project->getId(),

View file

@ -71,10 +71,6 @@ class UsageDump extends Action
$project = new Document($document);
if (empty($project->getAttribute('database'))) {
var_dump($stats);
}
/**
* End temp bug fallback
*/