Merge pull request #5728 from appwrite/fix-hamster-script
fix: missing collection error
This commit is contained in:
commit
702c92fb5d
1 changed files with 4 additions and 1 deletions
|
@ -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', [
|
||||
|
|
Loading…
Reference in a new issue