SEBSERV-265

This commit is contained in:
anhefti 2022-02-02 14:22:44 +01:00
parent aea16bfc99
commit a8291aaa16

View file

@ -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