1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12:00

Merge pull request #5728 from appwrite/fix-hamster-script

fix: missing collection error
This commit is contained in:
Christy Jacob 2023-06-19 20:26:21 +05:30 committed by GitHub
commit 702c92fb5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,7 +144,10 @@ class Hamster extends Action
}
/** Get Domains */
$statsPerProject['custom_domains'] = $dbForProject->count('domains', [], APP_LIMIT_COUNT);
$statsPerProject['custom_domains'] = $dbForConsole->count('domains', [
Query::equal('projectInternalId', [$project->getInternalId()]),
Query::limit(APP_LIMIT_COUNT)
]);
/** Get Platforms */
$platforms = $dbForConsole->find('platforms', [