Skip to content

Commit c424d21

Browse files
authored
Update webapp/src/Controller/API/JudgehostController.php
1 parent 7190795 commit c424d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/API/JudgehostController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ public function getJudgeTasksAction(Request $request): array
15321532
/*if (!$request->request->has('hostname')) {
15331533
throw new BadRequestHttpException('Argument \'hostname\' is mandatory');
15341534
}
1535-
$hostname = $request->request->get('hostname');*/
1535+
$hostname = $request->request->get('hostname');
15361536
$hostname = 'Computer';
15371537
15381538
$judgehost = $this->em->getRepository(Judgehost::class)->findOneBy(['hostname' => $hostname]);

0 commit comments

Comments
 (0)