mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
payload bug fix
This commit is contained in:
parent
f6157dd2c0
commit
6a28d4eee6
1 changed files with 2 additions and 2 deletions
|
|
@ -65,13 +65,13 @@ class UsageDump extends Action
|
|||
* Start temp bug fallback
|
||||
*/
|
||||
$document = $stats['project'] ?? [];
|
||||
if(!empty($document['$uid'])) {
|
||||
if (!empty($document['$uid'])) {
|
||||
$document['$id'] = $document['$uid'];
|
||||
}
|
||||
|
||||
$project = new Document($document);
|
||||
|
||||
if(empty($project->getAttribute('database'))){
|
||||
if (empty($project->getAttribute('database'))) {
|
||||
var_dump($stats);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue