SEBSERV-265
This commit is contained in:
parent
aea16bfc99
commit
a8291aaa16
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ public class LmsAPIServiceImpl implements LmsAPIService {
|
||||||
final LmsAPITemplate template = getLmsAPITemplate(lmsSetupId)
|
final LmsAPITemplate template = getLmsAPITemplate(lmsSetupId)
|
||||||
.getOrThrow();
|
.getOrThrow();
|
||||||
|
|
||||||
if (institutionId != null && institutionId.equals(template.lmsSetup().institutionId)) {
|
if (institutionId != null && !institutionId.equals(template.lmsSetup().institutionId)) {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
return template
|
return template
|
||||||
|
|
Loading…
Reference in a new issue