WIP
This commit is contained in:
+10
-2
@@ -368,9 +368,17 @@ function sync(progressCallback, callback) {
|
||||
|
||||
debug(`Found ${ldapGroups.length} groups`);
|
||||
|
||||
debug('sync: ldap sync is done', error);
|
||||
// we ignore all errors here and just log them for now
|
||||
async.eachSeries(ldapGroups, function (group, iteratorCallback) {
|
||||
console.log(group);
|
||||
iteratorCallback();
|
||||
}, function (error) {
|
||||
if (error) return callback(error);
|
||||
|
||||
callback(error);
|
||||
debug('sync: ldap sync is done', error);
|
||||
|
||||
callback(error);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user