externalldap: only set group members if they changed

This commit is contained in:
Girish Ramakrishnan
2025-11-04 09:12:25 +01:00
parent 2da99673cd
commit af3ed04b7f
2 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ async function listWithMembers() {
' FROM userGroups LEFT OUTER JOIN groupMembers ON userGroups.id = groupMembers.groupId ' +
' GROUP BY userGroups.id ORDER BY name');
results.forEach(function (result) { result.userIds = result.userIds ? result.userIds.split(',') : [ ]; });
results.forEach(function (result) { result.userIds = result.userIds ? result.userIds.split(',') : []; });
for (const r of results) {
await postProcess(r);