1
0
Fork 0
mirror of synced 2024-08-03 20:42:09 +12:00

fix: missing collection error

This commit is contained in:
Christy Jacob 2023-06-19 13:28:43 +00:00
parent 72e9ddd3f1
commit 4d7611f569

View file

@ -144,7 +144,10 @@ class Hamster extends Action
} }
/** Get Domains */ /** 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 */ /** Get Platforms */
$platforms = $dbForConsole->find('platforms', [ $platforms = $dbForConsole->find('platforms', [