Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Merge 217b984 into da358a8
Browse files Browse the repository at this point in the history
  • Loading branch information
gramakri committed Dec 2, 2020
2 parents da358a8 + 217b984 commit 81df8e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/messages/search_response.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SearchResponse.prototype.send = function (entry, nofiltering) {
const self = this

const savedAttrs = {}
const save = null
let save = null
if (entry instanceof SearchEntry || entry instanceof SearchReference) {
if (!entry.messageID) { entry.messageID = this.messageID }
if (entry.messageID !== this.messageID) { throw new Error('SearchEntry messageID mismatch') }
Expand All @@ -66,7 +66,7 @@ SearchResponse.prototype.send = function (entry, nofiltering) {
}
})

const save = entry
save = entry
entry = new SearchEntry({
objectName: typeof (save.dn) === 'string' ? parseDN(save.dn) : save.dn,
messageID: self.messageID,
Expand Down

0 comments on commit 81df8e6

Please sign in to comment.