fix: initialize takes no params

This commit is contained in:
Pedro Lopez 2020-03-29 21:47:47 -04:00
commit 2dddc781c5

View file

@ -79,7 +79,7 @@ class Client extends EventEmitter {
if (this.options.restartOnAuthFail) {
// session restore failed so try again but without session to force new authentication
this.options.session = null;
this.initialize(this.options);
this.initialize();
}
return;
}