diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/LmsIntegrationController.java b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/LmsIntegrationController.java index 1e27f63b..b5d8430d 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/LmsIntegrationController.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/LmsIntegrationController.java @@ -90,13 +90,12 @@ public class LmsIntegrationController { @RequestParam(name = API.LMS_FULL_INTEGRATION_QUIZ_ID) final String quizId, final HttpServletResponse response) { - final EntityKey examID = fullLmsIntegrationService.deleteExam(lmsUUId, courseId, quizId) + fullLmsIntegrationService.deleteExam(lmsUUId, courseId, quizId) .onError(e -> log.error( "Failed to delete exam: lmsId:{}, courseId: {}, quizId: {}, error: {}", lmsUUId, courseId, quizId, e.getMessage())) - .getOrThrow(); + .onSuccess(examID -> log.info("Auto delete of exam successful: {}", examID)); - log.info("Auto delete of exam successful: {}", examID); } @RequestMapping(