Skip to content

Commit

Permalink
Update webapp/src/Controller/API/JudgehostController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj authored Oct 18, 2024
1 parent 7190795 commit c424d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/Controller/API/JudgehostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ public function getJudgeTasksAction(Request $request): array
/*if (!$request->request->has('hostname')) {
throw new BadRequestHttpException('Argument \'hostname\' is mandatory');
}
$hostname = $request->request->get('hostname');*/
$hostname = $request->request->get('hostname');
$hostname = 'Computer';
$judgehost = $this->em->getRepository(Judgehost::class)->findOneBy(['hostname' => $hostname]);
Expand Down

0 comments on commit c424d21

Please sign in to comment.