fix: rename domains collection to rules in hamster script
This commit is contained in:
parent
b3d8998735
commit
d8714ec3fa
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue