1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +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 */
$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', [