Skip to content

Commit ff84f69

Browse files
authored
Update index.js
1 parent fbbb090 commit ff84f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ RedisClient.prototype.create_stream = function () {
241241
if (this.auth_pass !== undefined) {
242242
this.ready = true;
243243
// Fail silently as we might not be able to connect
244-
this.auth(this.auth_user, this.auth_pass, function (err) {
244+
this.auth(this.auth_pass, this.auth_user, function (err) {
245245
if (err && err.code !== 'UNCERTAIN_STATE') {
246246
self.emit('error', err);
247247
}

0 commit comments

Comments
 (0)