Skip to content

Commit

Permalink
Updating Readme to remove .object in searchReturnAll method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley Hobbie committed Mar 23, 2023
1 parent d8288ec commit 99913e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const results = client.search(base, options, controls).then(response => {
let referrals = [];
return new Promise((resolve, reject) => {
response.on('searchEntry', entry => {
entries.push(entry.object);
entries.push(entry);
});
response.on('searchReference', referral => {
referrals = referrals.concat(referral.uris);
Expand Down

0 comments on commit 99913e6

Please sign in to comment.