1
0
Fork 0
mirror of synced 2024-10-05 12:43:13 +13:00

fix: rename domains collection to rules in hamster script

This commit is contained in:
Christy Jacob 2023-10-13 12:54:10 +04:00
parent b3d8998735
commit d8714ec3fa

View file

@ -200,8 +200,9 @@ class CalcTierStats extends Action
try { try {
/** Get Domains */ /** Get Domains */
$stats['Domains'] = $dbForConsole->count('domains', [ $stats['Domains'] = $dbForConsole->count('rules', [
Query::equal('projectInternalId', [$project->getInternalId()]), Query::equal('projectInternalId', [$project->getInternalId()]),
Query::limit(APP_LIMIT_COUNT)
]); ]);
} catch (\Throwable) { } catch (\Throwable) {
$stats['Domains'] = 0; $stats['Domains'] = 0;