diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPITemplateAdapter.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPITemplateAdapter.java index 71f79253..9a647c34 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPITemplateAdapter.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPITemplateAdapter.java @@ -202,7 +202,7 @@ public class LmsAPITemplateAdapter implements LmsAPITemplate { throw new RuntimeException("No course API Access: " + testCourseAccessAPI); } return testCourseAccessAPI; - }); + }).getOrThrow(); } @Override