mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #9103 from appwrite/fix-usage-payload-bug
Usage payload debug
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -71,10 +71,6 @@ class UsageDump extends Action
|
||||
|
||||
$project = new Document($document);
|
||||
|
||||
if (empty($project->getAttribute('database'))) {
|
||||
var_dump($stats);
|
||||
}
|
||||
|
||||
/**
|
||||
* End temp bug fallback
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user