Quick fix for outdated client doc
Still referring to result.object, instead of result.pojo.
This commit is contained in:
parent
6ba15ed672
commit
0dfe40e209
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue