Skip to content

Commit

Permalink
Merge pull request #1480 from ricardochen1996/fix-saslAuthenticator-e…
Browse files Browse the repository at this point in the history
…rror

fix: dot buffer twice make sasl-auth error
  • Loading branch information
Nevon authored Nov 21, 2022
2 parents 46e56c9 + 6171afe commit 57d1e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ module.exports = class Connection {
const requestPayload = await request.encode()

this.failIfNotConnected()
this.socket.write(requestPayload.buffer, 'binary')
this.socket.write(requestPayload, 'binary')
} catch (e) {
reject(e)
}
Expand Down

0 comments on commit 57d1e09

Please sign in to comment.