diff --git a/module/solutions/helper.js b/module/solutions/helper.js index dd45b4fe..8d8ec2b8 100644 --- a/module/solutions/helper.js +++ b/module/solutions/helper.js @@ -2007,10 +2007,12 @@ module.exports = class SolutionsHelper { //get the organisations from the userProfile for (const org of userProfile["organisations"]) { - let orgData = {}; - orgData.orgName = org.orgName; - orgData.organisationId = org.organisationId; - organisation.push(orgData); + if ( !org.isSchool ) { + let orgData = {}; + orgData.orgName = org.orgName; + orgData.organisationId = org.organisationId; + organisation.push(orgData); + } } let updateQuery = {};