From cf2a978ad38b28644d8886073049611360f460a9 Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 16 Aug 2022 11:27:55 +0200 Subject: [PATCH] fix check --- .../webservice/servicelayer/lms/impl/LmsAPITemplateAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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