SEBSERV-306 fixed also for Exams

This commit is contained in:
anhefti 2022-05-30 11:04:34 +02:00
parent 28c7706f70
commit ab56ce3cc4

View file

@ -403,7 +403,9 @@ public class ExamAdministrationController extends EntityController<Exam, Exam> {
.byPK(examId)
.flatMap(this.authorization::checkModify)
.map(exam -> {
this.examAdminService.saveProctoringServiceSettings(examId, proctoringServiceSettings);
this.examAdminService
.saveProctoringServiceSettings(examId, proctoringServiceSettings)
.getOrThrow();
return exam;
})
.flatMap(this.userActivityLogDAO::logModify)