We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d91536 commit ced6a9fCopy full SHA for ced6a9f
1 file changed
app/Services/ResourceEditsService.php
@@ -35,7 +35,7 @@ public function canMergeEdits(ResourceEdits $edits): bool
35
return true;
36
}
37
38
- $totalVotes = $edits->resource->votes_count;
+ $totalVotes = $edits->computerScienceResource->votes_count;
39
$neededApprovals = $this->requiredVotes($totalVotes);
40
41
$approvals = $edits->vote_score;
0 commit comments