Commit e1fc36f6 authored by Mark Harding's avatar Mark Harding

(chore): do not reward admins for initial jury

parent 19e79f9f
No related merge requests found
Pipeline #64885710 passed with stages
in 6 minutes and 44 seconds
......@@ -21,6 +21,10 @@ class MetricsDelegate
*/
public function onCast(Verdict $verdict)
{
if (!$verdict->isAppeal()) {
return; // No need to record this
}
$decisions = $verdict->isAppeal() ?
$verdict->getReport()->getAppealJuryDecisions() :
$verdict->getReport()->getInitialJuryDecisions();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment