From 36c64450baffb7bc9f7d7f3080a6395b402b0f7c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 9 Mar 2024 10:31:19 +0900 Subject: chore: add comment --- services/app/src/App.php | 1 + 1 file changed, 1 insertion(+) (limited to 'services/app') diff --git a/services/app/src/App.php b/services/app/src/App.php index dfcc06d..77f24be 100644 --- a/services/app/src/App.php +++ b/services/app/src/App.php @@ -287,6 +287,7 @@ final class App if ($currentUser === null) { $answers = []; } else { + // An attendee can see their own answers even if the ranking is hidden. $answers = $answerRepo->listByQuizIdAndAuthorId($quiz->quiz_id, $currentUser->user_id); } } else { -- cgit v1.2.3-70-g09d2