From a8291aaa16d81956029228aacc4dc56411d0eaa2 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 2 Feb 2022 14:22:44 +0100 Subject: [PATCH] SEBSERV-265 --- .../webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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