From 2dddc781c588cdf27b2e8cd89390a6c0606783e4 Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Sun, 29 Mar 2020 21:47:47 -0400 Subject: [PATCH] fix: initialize takes no params --- src/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.js b/src/Client.js index d35b9fa..0141cd5 100644 --- a/src/Client.js +++ b/src/Client.js @@ -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; }