diff --git a/client.js b/client.js index 5a7cd79..3f96b09 100644 --- a/client.js +++ b/client.js @@ -43,8 +43,8 @@ class Client { this.tray = tools.tray(this); this.config = new Settings(this); this.credentials = new Credentials(this); + this.api = new Api(); this.darkDev; - this.api; if (await update()) { return this; @@ -52,7 +52,6 @@ class Client { if (this.arg.dev) { this.darkDev = new DarkDev(this); - this.api = new Api(); console.log("Settings:"); console.log(settings.getSync()); console.log("Arguments:");