fix(exam-correct): reintroduce examResults

This commit is contained in:
Sarah Vaupel 2020-02-08 00:06:28 +01:00
parent 9aca3405f3
commit f7136bca15

View File

@ -110,7 +110,7 @@ postECorrectR tid ssh csh examn = do
CorrectInterfaceRequest{..} <- requireCheckJsonBody
let mayEditResults = False
mayEditResults <- hasWriteAccessTo $ CExamR tid ssh csh examn EUsersR
response <- runDB . exceptT (<$ transactionUndo) return $ do
Entity eId Exam{..} <- lift $ fetchExam tid ssh csh examn