aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-07 16:53:03 +0900
committernsfisis <nsfisis@gmail.com>2024-03-07 16:53:03 +0900
commit70f018ab86a3cbf0e1c4950c16ad9034072127fd (patch)
tree3d74a36c8e6a0027ad62345e4b2eedee981427c8
parente7d475b9ff4b2afa6fd21e523c742cba767f57b9 (diff)
downloadphperkaigi-2024-albatross-70f018ab86a3cbf0e1c4950c16ad9034072127fd.tar.gz
phperkaigi-2024-albatross-70f018ab86a3cbf0e1c4950c16ad9034072127fd.tar.zst
phperkaigi-2024-albatross-70f018ab86a3cbf0e1c4950c16ad9034072127fd.zip
fix an issue where an answer is mark as pending when accessing admin_answer_edit page
-rw-r--r--services/app/src/App.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/app/src/App.php b/services/app/src/App.php
index 2eb6797..b3e3491 100644
--- a/services/app/src/App.php
+++ b/services/app/src/App.php
@@ -590,7 +590,6 @@ final class App
if ($answer === null) {
throw new HttpNotFoundException($request);
}
- $answerRepo->markAsPending($answer->answer_id);
$testcaseExecutions = $testcaseExecutionRepo->listByAnswerId($answer->answer_id);
return $this->render($request, $response, 'admin_answer_edit.html.twig', [