Quick fix for outdated client doc

Still referring to result.object, instead of result.pojo.
This commit is contained in:
Joakim Uddholm 2023-03-07 16:07:41 +01:00 committed by James Sumners
parent 6ba15ed672
commit 0dfe40e209
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ client.search('o=example', opts, (err, res) => {
console.log('searchRequest: ', searchRequest.messageId);
});
res.on('searchEntry', (entry) => {
console.log('entry: ' + JSON.stringify(entry.object));
console.log('entry: ' + JSON.stringify(entry.pojo));
});
res.on('searchReference', (referral) => {
console.log('referral: ' + referral.uris.join());