1
0
Fork 0
mirror of synced 2024-07-03 05:31:38 +12:00

chore: update hamster script

This commit is contained in:
德华 刘 2023-12-22 14:07:05 +00:00
parent 394f28146a
commit d3143b8ede

View file

@ -219,7 +219,7 @@ class CalcTierStats extends Action
]);
if (!$membership || $membership->isEmpty()) {
throw new \Exception('Membership not found. Skipping project : ' . $project->getId());
Console::error('Membership not found. Skipping project : ' . $project->getId());
}
$userId = $membership->getAttribute('userId', null);
@ -227,6 +227,8 @@ class CalcTierStats extends Action
$user = $dbForConsole->getDocument('users', $userId);
$stats['Organization Email'] = $user->getAttribute('email', null);
}
} else {
Console::error("Email was not found for this Organization ID :{$teamInternalId}");
}
/** Get Total Members */