Skip to content

Commit

Permalink
misc review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
venix12 committed Jan 30, 2024
1 parent 60441c9 commit f3b82ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ContestEntriesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function judgeVote($id)
$params = get_params(request()->all(), null, [
'scores:array',
'comment',
]);
], ['null_missing' => true]);

$scoresByCategoryId = collect($params['scores'])
->keyBy('contest_scoring_category_id');
Expand Down
2 changes: 1 addition & 1 deletion resources/js/stores/contest-judge-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class ContestJudgeStore {

@action
updateWithJson(data: ContestJsonForStore) {
data.entries?.forEach((json) => {
data.entries.forEach((json) => {
const entry = new ContestEntry(json);
this.entries.set(entry.id, entry);
});
Expand Down

0 comments on commit f3b82ba

Please sign in to comment.