diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java index 95a7e9f9..149514d9 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java @@ -193,7 +193,7 @@ public class LmsAPIServiceImpl implements LmsAPIService { final LmsAPITemplate template = getLmsAPITemplate(lmsSetupId) .getOrThrow(); - if (institutionId != null && institutionId.equals(template.lmsSetup().institutionId)) { + if (institutionId != null && !institutionId.equals(template.lmsSetup().institutionId)) { return Collections.emptyList(); } return template